glm with propensity score
Hi all I am trying to reproduce the following output. ------------------------ - ----------- ----------- --------- -------- ------------- ------------ | OIM 12mnths | Coef. Std. Err . z P>|z| [95%...
View ArticleAnalysis of trends
Hello everyone, My question is how to perform an analysis of trends during a certain period of time to see if the percentages of a desired outcome goes up or down significantly. Simply put, I have an...
View ArticleProblem on calculating Confidence Intervals for proportions over groups
Dear all, I have a problem on calculating confidence intervals for proportions over groups. The groups in my research is 'nhom'. When I use the option 'over', Stata shows me the results that are...
View Articleproblems with temporary variables in my Ado-file
problems with temporary variables in my Ado-file [COLOR=#6A6A6A !important]Today, 10:43[/COLOR] Hi all, I am pretty new to Stata mata language. I am trying to write a program to estimate risk...
View ArticleHow can I do a nested loop through a variable's values and by group?
Hello, I'm new to Stata and learning. I'm getting stuck with a loop problem. To begin, there are a set of 3 continuous variables X1, X2, X3 and a group variable Y. I have a loop to summarize Xs by Y...
View ArticleBest way to download as many as ADO files for a server setup
Hello everyone, We have installed Stata on a server for use in a private network (not connected to the Internet). Installing third-party ado files "on demand" is going to be complicated because we will...
View ArticleSvysetting pooled GSS data using year as stratum variable
A student is pooling several years of GSS (General Social Survey) data. She sent me the following question (which I suppose might apply equally well to many situations where you have successive...
View Articlescalar from return list and tempvar which stores nothing
Hey, I´m trying to write a program, but I´m having some problems. First of all I´m trying to store MEAN and SD in the return list, to revere to them later on, but I think they are not saved and I don´t...
View ArticleHow does Stata calculate T-Values?
Dear all, I'm very curious as to how Stata exactly calculates T-Values. For example: when I do ttest car == 0 (where car is cumulative abnormal returns) this is the output: mean = mean(car) t = 3.4898...
View ArticleIf loop in Mata
Hey I want to write a Mata function with an if condition function sum { sum(x) if sum(x) == 0 { sum(y) is that possible?
View ArticleHow can I compare regression coefficients between two groups?
Dear all How can I compare regression coefficients between two groups? For example, I want to test if the regression coefficient of height predicting weight for the men group is significantly different...
View ArticleDecomposition: Estimating firm effects component in a regression that...
Regression: BTM(i,t)=a(t) +a(i)+beta1*R(i,t)+beta2*R(i,t-1)+beta3*R(i,t-2)+beta4*R(i,t-3)+beta5*R(i,t-4) + noise where a(t), a(i) are the fixed firm and time effects (which capture the mean of the...
View ArticleEstimating the Firm Fixed Effect
Dear all; This is a new post that better explains my previous post and show how fixed effect component is estimated in a paper by Billings and Morton (2000). The entire paper is attached to the older...
View ArticleTest for equality of means / proportions
Hello everyone, I have conducted a test for equality of means but have propblems interpreting it. Array I am comparing two groups I created before with the command "regroup" of my DV. Now I want to...
View Articletwoway scatter plot: insert more than 1 note
Dear All, I want to insert more than one note inside the scatter plot. I want it like in the attachment Thanks a lot. these are my code (only 1 note is working other one not graph set window fontface...
View ArticleNonparametric hypothesis testing in multiply imputed data.
So long story short, I have a dataset with a fair amount of missingness where the outcome is a cost, so I performed a multiple imputation to deal with it and am hoping to report both MI and complete...
View ArticleInterpreting a full set of fixed effect dummies without a constant, a special...
Hi Statalisters: Some context before my question: My initial dataset comprises four cross-sectional datasets from consecutive survey years appended together. It contains variables birthyear and age for...
View Articleproblem with multiple imputation
I am doing multiple imputation for two variables in my ordinal logistic model. One of these two variables is continuous variable measuring organization capacity, another is likert scale variable...
View Articlea complex matching problem
Hi all, I got a problem and stuck there for quite a while. I have two data sets: case and control. they have exactly same variables but different firms. there are few things I need to do . 1, match the...
View ArticleProblem installing Polychoric function- please help!!
Hello, I've searched through the web and seen some people have also had trouble installing the polychoric function. I need it for my PCA which contains both dichotomous and continuous variables. On...
View Article