graphing the percentages of 1's out of a total pool of 1's or 0's
I have a dataset of events and the age at when the event happens. For illustrative reasons i would like to plot in a stacked bar chart - the percentages of participants that pr age unit have the event....
View Articlereference in Stata (How can I change reference group in stata?)
In fact, I changed reference group with "fvset base last fvset base first". Unfortunately the result is same. What can I do?
View ArticleTesting Hypothesis in Mixed Linear Model
Hi All, I am using a mixed linear model with robust standard errors. With robust SE, LR test is not valid. In such a case how can I test for the significance of the Fixed and Random effects? Wald test...
View ArticleCorrelations for Panel Data
I am using panel data for the first time. I have data on 30 countries from 1990-2014. I wish to compute the correlations between the variables to see which ones can be ignored as I have too many...
View Articlemultivariate probit with cmp
Hi, all. I am trying to specify a multivariate random-effects model with two binary dependent variables: Code: gsem (readmit30 died<-`predictors' M1[prvdr_num]), logit cov(e.readmit30*e.died)...
View ArticleCondensing multiple observations on the same individual into a single row,...
In my data each person has a unique identifier (Master_Gardener_ID), a non-unique identified (Gardener_ID), and each person is involved with one or more gardens(Garden_ID) Master_Gardener_ID...
View ArticleCan an "if" qualifier be used to highlight specific markers...
I am wondering if there is a way to highlight a range of markers in either a scatter, connected, or xtline plot. For example: sysuse xtline1, clear xtset person day Below, I am using twoway connected...
View ArticleImport DAT file using stata import wizard
Dear all, I have a DAT file with over 200,000 observation. It has 12 variables, with all numeric values. I attached a sample with a few observation . When i use stata import wizard, and select text...
View ArticleCorrelations for Panel data in STATA
I am using panel data for the first time and have a question on computing the correlations. I have data for 20 countries from 1990-2014 on several variables. However, I know that some of these...
View ArticleShow graphically each regression in a single graph
I have the variables female and male and were looking at wage and experience for people who are ugly average and Beautiful, I am told to graph each gender seperately using the by function does anyone...
View ArticleImporting many worksheets from workbooks; blank sheets
Hi all, I'm working on importing the individual sheets from excel workbooks, but some of the sheets have names and are blank, which is breaking my code. I'd like to be able to go around this without...
View ArticleCensus crosswalk translate tract boundaries: error 609 xp format? unsupported...
I am using the LTDB (http://www.s4.brown.edu/us2010/Resea...d/Default.aspx) crosswalk to translate Census 2000 tract boundaries into 2010 boundaries. I am encountering the following error: (note: you...
View ArticleMissing F statistic and extreme values for t statistic in linear regression
Hi, I want to run a regression in stata with approximately 2,5 million observations, however when I regress it this is the result: Code: Source SS df MS Number of obs = 2338227 F( 12,2338214) = . Model...
View ArticleVery high standard errors after using vce (cluster)
Hi all, After I run my model everything seems fine, untill I correct for heteroskescity and autocorrelation by using vce(cluster). The standard errors of the variables become very high. I was wondering...
View ArticleEstimate BMI when heigth and weight are differently estimated
Hello, I need to estimate BMI based on the simple technique of; BMI=weight/(height*height) but i'm getting wrong (not possible outcomes). Is it possible to redefine the variables weight and height so...
View ArticleMatching case and controls.
Dear Stata-listers, I am trying to compare characteristics between two groups. However these two groups have different survival (number of events and time to event), which might confound my analysis....
View Articletsfill with panel gaps
I have the following panel dataset, and the year variable indicates the start and end year. Code: * Example generated by -dataex-. To install: ssc install dataex clear input int(ccode year) 2 1898 2...
View ArticleUpdating Stata 13 in Windows 10
I recently "upgraded" to Windows 10. Is there a trick to updating Stata 13? I follow the tried and true routine for updates and get the following error message: installing executable files ... Could...
View Articlemultiple imputation, summary statistics, variance
Dear all, I have a couple of questions for my analysis: * how can I produce the standard deviation for the summary statistics of a multiply imputed survey dataset? * how can I estimate the variance...
View Article