1. 10-14-2010
+ Post New Thread
Page 1 of 26 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... LastLast
Threads 1 to 60 of 1523

Forum: Stata

Stata usage and programming, Stata help

  1. randomly match cases and controls when the ratio is not 1:1

    Hello to everybody! I am trying to match cases and controls for two studies, in the first one the ratio can be 1:1 in the second one, since the...

    Started by Rerun‎, 04-16-2014 10:01 AM
    • Replies: 5
    • Views: 130
    Today, 03:40 AM Go to last post
  2. panel data and time effects

    I have a panel data database for all states between the years 1983-2011, so when I run regressions the results appear for the whole period, but I am...

    Started by Belabda‎, Yesterday 03:55 PM
    • Replies: 1
    • Views: 102
    Yesterday, 04:28 PM Go to last post
  3. How to run a Chow test for a logit model

    I want to run the equivalent of a Chow test for a logit model, to check if pooling the datasets is justified. Does anyone know which test to use for...

    Started by AliT128‎, Yesterday 11:25 AM
    • Replies: 1
    • Views: 125
    Yesterday, 11:30 AM Go to last post
  4. Time series - Selecting limited time period to regress

    Hi, I have a time series with monthly data from 1871 till 2014 which I can run regressions on. However I would like to run several regression on...

    Started by cjwehtje‎, Yesterday 03:55 AM
    regression, settings, time series
    • Replies: 1
    • Views: 72
    Yesterday, 05:40 AM Go to last post
  5. MLE estimation precision

    Hi, I would like to ask a question, im estimating EGARCH model in stata with 5-minute returns, and my model could not converge with error "r(430)",...

    Started by Tomas Juchelka‎, 04-19-2014 05:35 AM
    • Replies: 1
    • Views: 103
    04-19-2014, 08:38 PM Go to last post
  6. Merging with unique personids but not sorted as unique in datasets

    Hi Everyone- First, long time viewer of the forum but first time posting. Thank you so much for any advice, this site has helped get me back on...

    Started by Jay85‎, 04-19-2014 11:25 AM
    merge, multiple datasets, personid, unique identifier
    • Replies: 1
    • Views: 79
    04-19-2014, 08:36 PM Go to last post
  7. Firm fixed effects in panel data

    Hi everyone! I am pretty new in working with Stata and I am facing following problem: I have a large dataset of US banks and insider...

    Started by Gerka‎, 04-18-2014 11:09 AM
    • Replies: 0
    • Views: 70
    04-18-2014, 11:09 AM Go to last post
  8. Finding Agencies that were funded in all years

    Hey guys, I have 6 columns containing Agency IDs of different years. I would like to know which agencies appear in all the years. That is which...

    Started by Marvin85‎, 04-18-2014 09:46 AM
    • Replies: 0
    • Views: 44
    04-18-2014, 09:46 AM Go to last post
  9. Coefficient interpretation in panel data

    Hi, I am using a panel of 2249 schools with data from 2002-2008. Some of the schools are single sex schools whilst others are mixed sex. Some...

    Started by Kaimajerus‎, 04-17-2014 09:42 AM
    interpret panel data
    • Replies: 0
    • Views: 143
    04-17-2014, 09:42 AM Go to last post
  10. How can I split variables by row?

    I have a data set that includes both yearly and quarterly data. I need to split it up into individual quarterly and annual variables, but can't...

    Started by statisticalmoron‎, 04-16-2014 05:58 AM
    • Replies: 4
    • Views: 138
    04-17-2014, 06:49 AM Go to last post
  11. Generate dummy according to first 3 numbers of a string varaible

    I am using panel data and my panel variable is schid which is an identifier for 2249 schools. The data is from 2002-2008. In the question that I am...

    Started by Kaimajerus‎, 04-16-2014 05:14 PM
    • Replies: 2
    • Views: 160
    04-17-2014, 03:10 AM Go to last post
  12. How can I drop observations when a variable is equal to any number from a sequence?

    I have a variable in a data set that has numbers between 0 and 1000. I want to drop observations where the variable is equal to any number from the...

    Started by econlearner‎, 04-16-2014 04:55 PM
    drop values, sequence, stata
    • Replies: 2
    • Views: 107
    04-16-2014, 09:33 PM Go to last post
  13. collapse and counting the same observations

    Hi I am currently analyzing the data set that have the name of organizations, the name of EMR vendors and the 7 different functions. I would like...

    Started by jykim‎, 04-16-2014 05:16 PM
    • Replies: 0
    • Views: 119
    04-16-2014, 05:16 PM Go to last post
  14. importing spss-files via ado usespss

    Good afternoon it's a long time I've been here, but yo always were so helpful - I try my luck again. The problem is: A colleague found and...

    Started by siskin‎, 04-04-2014 07:25 AM
    • Replies: 2
    • Views: 127
    04-16-2014, 02:48 AM Go to last post
  15. Matching datasets on more than one variable

    Hello everyone, I have a dataset containing companies and the funds which have financed them at some point in time. I need to combine this data...

    Started by vcheck‎, 04-14-2014 01:34 PM
    • Replies: 0
    • Views: 97
    04-14-2014, 01:34 PM Go to last post
  16. Volatility Modelling- negative coefficients and r(430)

    Dear Statisticians, I am having some issues modeling the effect of news events on market indices. Namely, I am using garch (1,1) and have 8 dummy...

    Started by bgstefan‎, 04-14-2014 09:19 AM
    • Replies: 0
    • Views: 124
    04-14-2014, 09:19 AM Go to last post
  17. Corr and robust std. errors

    Hi, is there a way to compute correlation coefficients with robust standard errors a la "vce(cluster var)" in regression analysis? Thanks

    Started by lbv‎, 04-14-2014 05:10 AM
    • Replies: 0
    • Views: 75
    04-14-2014, 05:10 AM Go to last post
  18. to RedOwl : an error when i run LCAPlugin.

    Dear RedOwl, i have met the same error as @Fulton 【 but I keep getting this error message "unrecognized command" when I run the examples to test...

    Started by ryang‎, 04-14-2014 04:25 AM
    • Replies: 0
    • Views: 61
    04-14-2014, 04:25 AM Go to last post
  19. Problem with r(2000) no observations

    Hi all, even after asking Dr. Google I did not yet find any answer for my problem so I hope somebody can help me here. I imported some date from...

    Started by Ave‎, 04-12-2014 09:04 AM
    • Replies: 1
    • Views: 128
    04-12-2014, 09:25 AM Go to last post
  20. Regression in STATA

    Hi guys, Currently I am struggling with a regression which I want to do. I want to do a regression in STATA but I don't know how to do it. I hope...

    Started by Statahulk‎, 08-27-2012 07:17 AM
    2 Pages
    1 2
    • Replies: 19
    • Views: 3,735
    04-11-2014, 10:25 PM Go to last post
  21. Stata: ml versus nl

    I need to estimate an equation using some iterative method to optimally choose the coefficients. I won't go into the reasons that I can't use a...

    Started by kungal‎, 04-05-2014 07:41 PM
    maximum likelihood, non-linear least squares, stata
    • Replies: 1
    • Views: 133
    04-11-2014, 05:10 PM Go to last post
  22. Evaluating the significance of a model which uses Odds Ratio

    Hey, guys! I know just the basics of Regression Models and in my job we're using a logit model, with the "Odds Ratio" option. The thing is that...

    Started by joseto_caviedes‎, 04-10-2014 04:25 PM
    • Replies: 2
    • Views: 190
    04-11-2014, 05:07 PM Go to last post
  23. Calculating simple statistics for the distribution

    I'm new to STATA and am struggling with some basic syntax. I have student-level data from several schools, like this: StudID School Sex ...

    Started by grreee12‎, 03-26-2014 01:10 PM
    • Replies: 7
    • Views: 276
    04-11-2014, 05:05 PM Go to last post
  24. Gaps in financial time series (i.e. weekends)

    Hi everybody, I am using Stata 13 and have several time series that focus on equity returns etc. Using tsset results in setting the time series...

    Started by Panda05‎, 04-11-2014 10:26 AM
    • Replies: 0
    • Views: 95
    04-11-2014, 10:26 AM Go to last post
  25. Means and frequencies

    Hi, perhaps a really stupid question, but how can I see the N's when running a mean command? I know that one can use sum, but when you have numerous...

    Started by lbv‎, 04-11-2014 01:00 AM
    • Replies: 2
    • Views: 82
    04-11-2014, 05:42 AM Go to last post
  26. 5 minute data

    Hi guys, Im having problems with high frequency time series data, especially i have 5 minute data for SP 500 stocks, im planning to model volatility...

    Started by Tomas Juchelka‎, 04-10-2014 12:52 PM
    • Replies: 0
    • Views: 109
    04-10-2014, 12:52 PM Go to last post
  27. Help with overlapping

    Hello I have a variable, return on assets (ROA) for financial years 1997 to 2010 for US firms. I would like to calculate performance volatility...

    Started by zaksotiris‎, 04-10-2014 09:24 AM
    • Replies: 0
    • Views: 99
    04-10-2014, 09:24 AM Go to last post
  28. Convert Stata13 file to Stata12

    Hi to all. I am trying to access a .dta file generated by STATA 13 but I have STATA 12 only. When trying to open I get the r(610) error, obviously....

    Started by NoPR‎, 04-10-2014 08:21 AM
    • Replies: 0
    • Views: 131
    04-10-2014, 08:21 AM Go to last post
  29. Help with new variable

    Hey everyone, I am new to stata and need help on assignment. my task is to "generate a new variable 'white' that is coded 1 if the respondent's...

    Started by jhartman35‎, 04-09-2014 04:39 PM
    • Replies: 2
    • Views: 175
    04-10-2014, 03:02 AM Go to last post
  30. recession shading

    hi , i have a graph with real industrial production and i would like to shade the areas of recession from 2000 to 2001 and 2008 to 2010 the command i...

    Started by eac13‎, 04-09-2014 04:24 PM
    • Replies: 2
    • Views: 66
    04-10-2014, 02:55 AM Go to last post
  31. multiple imputation 5-years average

    Hello. I have need to do panel regressing with mi (100 imputations) data. But the problem is that I have annual data but i need 5-years averages. How...

    Started by alive19xx‎, 04-09-2014 06:25 AM
    • Replies: 0
    • Views: 102
    04-09-2014, 06:25 AM Go to last post
  32. Direct Standardization in Stata using dstdize command

    Hi everyone, I've directly standardized injury events in 17 US states using the stata command "dstdize total_injuries population age_group,...

    Started by simonja‎, 04-09-2014 12:08 AM
    • Replies: 1
    • Views: 116
    04-09-2014, 03:03 AM Go to last post
  33. Generating a complex new variable in Stata

    Hey fellow Stata'ers, I need a smarter brain than mine to help me with a problem. Example of my dataset: Distance Loc_ID Alt_Loc_ID 100______1...

    Started by Miko‎, 04-08-2014 08:19 AM
    • Replies: 2
    • Views: 95
    04-09-2014, 02:30 AM Go to last post
  34. Panel regression

    Hi, i'm doing a regresssion on panel data, and i don't know if i can use a random effects or fixed ones? i already found the result by using hausman...

    Started by selma‎, 04-08-2014 04:20 PM
    • Replies: 0
    • Views: 167
    04-08-2014, 04:20 PM Go to last post
  35. Box plot order

    Dear Forum I have some graphical box plot problems: graph box y1 y2 y3 y4, over(cat_var) How do I put the boxes in a specific order so every...

    Started by Aleco‎, 12-12-2013 10:00 PM
    • Replies: 12
    • Views: 549
    04-06-2014, 10:05 AM Go to last post
  36. Probit Interpretation help - will students live at home during university

    Hi all, New to the forum this is my first post. I am a third year economic student completing my first course in econometrics (working with...

    Started by bikcanada‎, 04-05-2014 01:33 PM
    • Replies: 0
    • Views: 139
    04-05-2014, 01:33 PM Go to last post
  37. Stata over linux doesn't run ado file

    Hi I installed correctly the ado file for seasonal adjustment x12 under ubuntu/linux. My machine does recognise x12a in my libraries, but when i...

    Started by jfca283‎, 04-05-2014 01:50 AM
    • Replies: 3
    • Views: 165
    04-05-2014, 01:05 PM Go to last post
  38. I can't run ado. Message about wrong adopath.

    I installed this package Menu-driven X-12-ARIMA seasonal adjustment in Stata And i also installed the x12a64 package on my PC. Its location is...

    Started by jfca283‎, 04-04-2014 09:55 AM
    • Replies: 2
    • Views: 122
    04-04-2014, 01:43 PM Go to last post
  39. Quick help on graphing a variable

    Say I've got a variable for the type of job someone does. Then I have a variable for how much someone earns. How do I produce a bar graph such...

    Started by dataset‎, 04-02-2014 10:48 AM
    • Replies: 1
    • Views: 150
    04-02-2014, 06:21 PM Go to last post
  40. Match firms by sic code and ipo date in state

    Hi, I am currently researching the US Ipo market and due to stata being completely new for me I encountered the following problem: I have two...

    Started by tokke‎, 03-31-2014 11:32 AM
    matching, stata
    • Replies: 1
    • Views: 118
    04-01-2014, 06:42 PM Go to last post
  41. Question Exporting results of the -table- command to Excel?

    Hi, is there any easy way to automate exporting a table command (with the content() option) to excel? I know about the various 'mouse' methods of...

    Started by khaidoba‎, 03-30-2014 12:54 PM
    commands, excel, export, stata, table
    • Replies: 2
    • Views: 142
    04-01-2014, 06:40 PM Go to last post
  42. Linear regression

    Hello, In attachment you find my model where I want to do a linear regression on in stata. Now was my question how I can define these summations...

    Started by marnix‎, 03-20-2014 04:51 AM
    • Replies: 8
    • Views: 351
    04-01-2014, 06:11 AM Go to last post
  43. Which is correct for my data??? Multilevel Modeling or Clustered Robust SEs approach?

    Hello everyone, I would love to hear your quick reaction to a particular data structure my colleagues and I are working with because we keep...

    Started by ema2146‎, 03-31-2014 09:49 AM
    • Replies: 1
    • Views: 137
    03-31-2014, 11:34 AM Go to last post
  44. Question reg and outreg2: Display variable value labels for interaction terms?

    I'm regressing using dummy interaction terms: reg y x1 i.x2 where x2 is split into 3 categories: "Category 1" if x2==1; "Category 2" if x2==2;...

    Started by khaidoba‎, 03-26-2014 06:24 AM
    • Replies: 2
    • Views: 195
    03-30-2014, 01:34 PM Go to last post
  45. Can stata do historical decomposition for VAR model?

    Can stata do historical decomposition for VAR models?

    Started by conglin‎, 03-10-2014 04:40 PM
    • Replies: 2
    • Views: 241
    03-28-2014, 03:13 PM Go to last post
  46. Repeated measures ANOVA- reshape data?

    I assessed HIV knowledge at pre, post and follow examinations. It was the same exam 14 items for pre, post and follow-up. Also The same participants...

    Started by Marvin85‎, 03-27-2014 02:45 PM
    anova, repeated measures, reshape data
    • Replies: 1
    • Views: 230
    03-28-2014, 08:14 AM Go to last post
  47. Question xtgee and estimating relative risks

    I am trying to complete a subgroup analysis. I have successfully created a model using xtgee command and I am looking for the correct post-estimation...

    Started by Annabella‎, 03-27-2014 10:26 AM
    • Replies: 0
    • Views: 85
    03-27-2014, 10:26 AM Go to last post
  48. Reducing the number of observations?

    Hi, Is it possible to reduce the number of observations for a regression analysis? For a homework assignment, I am asked to limit the sample size. ...

    Started by vberisha‎, 03-26-2014 06:55 PM
    • Replies: 1
    • Views: 153
    03-27-2014, 02:32 AM Go to last post
  49. Moving average across panel data

    Hi, I have a time-series dataset consisting of the number of bills introduced by each member of congress in a given year, organized into panel data...

    Started by npelikan‎, 03-26-2014 12:16 PM
    • Replies: 0
    • Views: 78
    03-26-2014, 12:16 PM Go to last post
  50. Ordinal DV and Categorical IV - Correct test

    I have a self-efficacy scale (DV). my self-efficacy scale is a liker scale (ordinal; 1 to 7, strongly agree to Strongly disagree) I asked the same...

    Started by Marvin85‎, 03-24-2014 04:13 PM
    ordinal and categorical
    • Replies: 7
    • Views: 221
    03-26-2014, 09:30 AM Go to last post
  51. Drop if same score on 16 out of 21 variables

    Hi I have a datset with 100,000 observations and 21 variables (v1-v21). I want to drop all observations that have the same score on 16 or more of...

    Started by lund_kasper‎, 03-26-2014 04:08 AM
    • Replies: 1
    • Views: 107
    03-26-2014, 05:04 AM Go to last post
  52. Formatting legends in distplot with "over" command

    EDIT: I feel silly; this was just a simple comma error. Please disregard. I've been formatting a series of CDFs using distplot for presentation,...

    Started by Clumpy‎, 03-25-2014 09:45 AM
    • Replies: 0
    • Views: 82
    03-25-2014, 09:45 AM Go to last post
  53. Augmented Dickey Fuller Test

    How do you test for non-stationarity using an augmented Dickey Fuller test with no time trend and a lag of 2 or more in STATA? I need simple...

    Started by freespirited55447‎, 03-24-2014 10:48 PM
    dickey fuller augmented, regression, sample t-statistic, time series
    • Replies: 0
    • Views: 152
    03-24-2014, 10:48 PM Go to last post
  54. Beginner's Troubles

    I sent out a survey containing multiple likert scale questions. I now have to analyze the results and that's a bit of a problem for me. My...

    Started by djl0330‎, 03-22-2014 10:45 AM
    • Replies: 1
    • Views: 182
    03-24-2014, 09:24 AM Go to last post
  55. Descriptive statistics

    Dear all, I have 12 000 households, and I have to calculate the percentage of children and adults per household. how can I calculate it using...

    Started by amale‎, 03-21-2014 09:55 AM
    • Replies: 1
    • Views: 187
    03-21-2014, 03:27 PM Go to last post
  56. Change in Ordinal variables pre and post

    Hi, I'm looking at changes of self efficacy. I'm trying to figure out which test to use for changes in a ordinal variables (1-5 scale; Stongly...

    Started by Marvin85‎, 03-20-2014 02:11 PM
    ordinal variable change
    • Replies: 1
    • Views: 143
    03-21-2014, 10:52 AM Go to last post
  57. How to create graph showing PCA with groups from Cluster analysis?

    Yet again I have run into another wall. I am doing a project for uni and have came across a problem, I am looking to build a graph with PCA scores (2...

    Started by AlexSheehy1992‎, 03-20-2014 04:39 PM
    cluster analysis, principal component, score
    • Replies: 1
    • Views: 157
    03-21-2014, 09:39 AM Go to last post
  58. replacing missing values for zeros in a loop

    Hello Stata experts, I am working in panel data with dyadic data and years. My data base is like the following: pair year fdi 1 2005 . 1 2006 ....

    Started by alvaro8apaz‎, 03-21-2014 03:08 AM
    loop, missing values, zeros
    • Replies: 2
    • Views: 138
    03-21-2014, 04:23 AM Go to last post
  59. Plotting the main and interaction effect after mixed-effect linear regression

    Dear Stata expert, I am using Stata 12. I used factor analysis to derive several factors for my analysis. Then I used linear mixed-effect...

    Started by mbakhtiar‎, 03-20-2014 08:59 PM
    • Replies: 0
    • Views: 147
    03-20-2014, 08:59 PM Go to last post
  60. Once completing a PCA on a dataset how do I go about adding the PCA scores to data?

    I am only new to STATA and was wondering once I have completed a PCA on my dataset, how do I see the scores on the dataset? (The data tab at the top...

    Started by AlexSheehy1992‎, 03-20-2014 04:33 PM
    cluster analysis, dendrogram, principal component
    • Replies: 0
    • Views: 127
    03-20-2014, 04:33 PM Go to last post

+ Post New Thread
Page 1 of 26 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... LastLast

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 300 views
Hot thread with unread posts
More than 15 replies or 300 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Advertise on Talk Stats