Quantcast
Channel: Statalist
Browsing all 72756 articles
Browse latest View live
↧

Multicollinearity and coefficient bias

Hello everyone. This is more an econometric question rather than purely Stata, but I found different answers in econometrics manual, and I guess I could made my mind clear here. Concerning...

View Article


comparing variables

Hi, can someone can help me with this query ? I have 12 numerical variables for each subject, 6 variables are before an intervention (pre1, pre2, pre3, pre4, pre5 and pre6) and 6 are after an...

View Article


Merging datasets under conditions

Hello all! I need some help with a merging of two datasets. In the first one I have the data of birth of every individual. In the second one I have a list of programs and for each of them I have the...

View Article

Trying to loop graph export

I'm using Stata/MP 13.0 , and I'm trying to export several graphics from a longitudinal based data( 69 variables and 26 cross-section units) , So far I tried two different approaches First, I tried to...

View Article

Missing Data and -ebalance-

Hello, Some colleagues and I have used -ebalance- to generate balanced samples across two groups. However, the subjects in the data have missing data on some of the items we use for matching. Has...

View Article


Post Estimation after sspecialreg

Hello everyone, My name is Adnan Fakir and I am working on a binary response model with a discrete endogenous regressor. I am estimating the model using Lewbel's special regressor procedure, using...

View Article

graph bar over() over() by() hide all xaxis labels but one

How can I remove the x-axis labels for age group and health authority under the ‘Low risk’ part of the graph? (and keep these labels under the ‘Higher risk’ part of the graph) (Age group labels for low...

View Article

Scale graph

Hi everyone, anyone know if is possible to create color or if there are color packages. I'm just trying here, but to be honest I dont like any. I need something like a traffic light here's my code...

View Article


Using multiple 'if' commands

Hi all, I'm currently attempting to ask Stata to code a variable as '1' if it meets several criteria, and 0 if it doesn't. Here's the code below, which may make more sense than my explanation: "gen...

View Article


Split command with multiple separators

I am using the split command and wish to use parse using different separators to create new variables with different prefixes according to the parsing separator. For example, the string might be...

View Article

Problem: Regression with Fixed Effects (multiple dummies variables)

Dear all, I want to run the following regressions with Fixed Effect for time (year) and firm identifiers (cusip). SALARY the dependent variable FIRMSIZE the independent variable YearFE dummy variable...

View Article

Economic significance

Hi everyone, Does anyone have an idea how to find the economic significance of a variable, knowing the dependent variable is count variable (number of days) and the independent variable is a ratio (%)?...

View Article

mfx and margins yield different results?

I recently started using margins (slow upgrade to the post-stata 10 world), and tried to re-write some of the old .do files. It turns out that I had trouble getting the same results by using mfx and...

View Article


Identifying the value label of a variable

I want to write a simple code that goes through a list of variables and drops the value labels for those variables. I am finding this hard because there doesn't seem to be any way to identify the value...

View Article

Multivariate analyis for logistic regression

I have a large number of outcomes in my analysis that need to be grouped for reporting. I am using the mvreg command for my outcomes that are continuous (multivariate linear regression). Is there an...

View Article


Does "exactm" option handle also the non PH issue?

Dear members, I have a data set where the hazard proportionality assumption does not hold for a Cox regression. The failures were also much tied. I tried to use both the "TVC" and "exactm" options. I...

View Article

statistically comparing two stcurves

Dear all, I am running Stata 14 on Windows 8 I performed a Cox analysis. The code are: sysuse cancer, clear replace drug=2 if drug==3 stcox drug age stcurve, survival at1( drug=1 age=25 ) at2( drug=2...

View Article


What settings does "graph export" use for pdf's?

I use and teach Stata 13 and 14 on windows machines. This is a general question that has sort of bothered me for years, but that I realize my students will probably ask me next week when I teach them...

View Article

Overidentifying restriction in system GMM

Hi, I'm using the -xtabond2- command to estimate a panel data growth model, but I have some problems with exactly how to use it. I have read Roodman's paper on the estimator, but unfortunately I get...

View Article

Stochastic Dominance - alorenz

Hellow, I am perforiming some stochastic dominance analysis for two distributions using alorenz. Stata produces the following output, which is not clear to me how to interprete it. Can someone help me...

View Article
Browsing all 72756 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>