1. Announcement:
    Want access to a chatbox?
    Dason ‎(Devorador de queso)
    05-10-2017
    Views:
    384
+ Post New Thread
Page 1 of 33 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 1940

Forum: Stata

Stata usage and programming, Stata help

  1. Regression Ridge Panel Data STATA

    Regression Ridge Panel Data STATA is Ridgereg estimates Common-Effects (OLS) Panel Data STATA, xtregfem estimates Fixed-Effects Panel Data STATA,...

    Started by willylexander‎, 05-20-2017 07:45 PM
    regression ridge
    • Replies: 0
    • Views: 109
    05-20-2017, 07:45 PM Go to last post
  2. circular statistics

    Dear all, I am doing study on hours of the day, ie. whether a particular hour of a day (00:00, 01:00, etc) have more death than other hours in a...

    Started by bestmic‎, 05-08-2017 06:23 AM
    • Replies: 0
    • Views: 314
    05-08-2017, 06:23 AM Go to last post
  3. Mixed ANOVA Code Help

    Hi all! I have a design with a N of 97 (55 people in one group and 42 in the other). I am interested in the effects of an intervention vs. an...

    Started by LucidMind‎, 05-04-2017 01:24 PM
    • Replies: 0
    • Views: 201
    05-04-2017, 01:24 PM Go to last post
  4. plotting/grouping variable in scatter plot

    I am a newbie with STATA (and SPSS) but: I've plotted a scatter plot to check for heteroscedasticity (rvfplot) and now I want the 'plots' to have...

    Started by Jazz3‎, 04-24-2017 07:33 AM
    • Replies: 0
    • Views: 290
    04-24-2017, 07:33 AM Go to last post
  5. Mann Whitney u test for sample with unequal sample sizes

    Hi I have two samples with unequal sample sizes. Sample 1 have n=90 and sample 2 with n =50. Can I use Mann Whitney u test for comparing these two...

    Started by sk2‎, 04-22-2017 12:35 PM
    • Replies: 1
    • Views: 250
    04-22-2017, 03:29 PM Go to last post
  6. Least Square Dummy Variable Panel Data STATA

    https://www.youtube.com/watch?v=tGkpOlUrxbM The least squares dummy variables (LSDV) estimator is pooled OLS, Fixed Effect, Random Effect STATA....

    Started by willylexander‎, 04-19-2017 05:35 AM
    lsdv data stata
    • Replies: 0
    • Views: 223
    04-19-2017, 05:35 AM Go to last post
  7. Lightbulb Principal component analysis to group items for two different countries

    Hi guys, We are two master thesis students doing our thesis about craft beer. We are performing a principal component analysis to group items from...

    Started by Sidsel Woodley‎, 04-15-2017 11:03 AM
    pca analysis
    • Replies: 0
    • Views: 241
    04-15-2017, 11:03 AM Go to last post
  8. Comparing fixed effects coefficients between two groups

    Dear all, I have estimated a fixed effect panel regression model for two groups in my data set. And I want to test if the coefficients are...

    Started by a_dabch‎, 04-14-2017 02:25 PM
    • Replies: 0
    • Views: 203
    04-14-2017, 02:25 PM Go to last post
  9. discrete time survival analysis

    I would greatly appreciate if you could let me know how to do discrete time survival analysis with time varying covariates. Some part of my data set...

    Started by shebrahimi‎, 04-04-2017 08:31 AM
    discrete-time, survival analysis
    • Replies: 0
    • Views: 384
    04-04-2017, 08:31 AM Go to last post
  10. To convert sas code to stata code

    REQUEST PROFESSIONAL HELP (with financial remuneration for your time) TO CONVERT SAS CODE TO STATA CODE Hello All, I am seeking professional help...

    Started by anwar‎, 04-02-2017 07:44 PM
    sas stata
    • Replies: 1
    • Views: 353
    04-03-2017, 10:53 PM Go to last post
  11. multilevel random effects model

    I want to look at the change in the percentage of income savings measured in dollars using repeated measures data for older adults. I want to compare...

    Started by leonedelman‎, 03-23-2017 07:18 PM
    linear growth curve., multilevel, random effects
    • Replies: 0
    • Views: 612
    03-23-2017, 07:18 PM Go to last post
  12. Age Adjusted Incidence Rates Using Poisson Regression

    Hello, I am not sure how to calculate age-adjusted incidence rates using poisson regression. I am comparing injuries for children at two schools,...

    Started by hannahlibby‎, 03-21-2017 05:57 PM
    adjustment, poisson regression
    • Replies: 0
    • Views: 395
    03-21-2017, 05:57 PM Go to last post
  13. 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: 4
    • Views: 6,745
    03-11-2017, 02:43 PM Go to last post
  14. How to: xtabond2

    Hello everyone, Me and my group (MSc students) are working on a project on inequality and growth. We have a panel dataset and want to perform...

    Started by Chrysa Pal‎, 03-11-2017 11:28 AM
    • Replies: 0
    • Views: 439
    03-11-2017, 11:28 AM Go to last post
  15. Arellano - Bond estimation: Selection between endogenous and predetermined variables

    Dear colleagues, I hope everything is well. I am running Arellano-Bond estimation (xtabond2) and I would like to ask about the selection of...

    Started by Kostas‎, 03-06-2017 07:39 AM
    • Replies: 0
    • Views: 593
    03-06-2017, 07:39 AM Go to last post
  16. Running sum

    Dear All, I have the following dataset *********************************** clear input rssd9001_bk1 rssd9001_bk2 year dealid obs...

    Started by zaksotiris‎, 03-05-2017 07:56 AM
    • Replies: 0
    • Views: 407
    03-05-2017, 07:56 AM Go to last post
  17. Cox regression time dependent effects

    I have developed a multivariable Cox model including variables associated with mortality using Stata 14.1. I identified a time dependent effect...

    Started by Maddy M‎, 02-23-2017 11:25 AM
    • Replies: 0
    • Views: 1,120
    02-23-2017, 11:25 AM Go to last post
  18. Dropping observations w.r.t. 2 different variables

    Well, to be honest I do not know how to express my problem so I have uploaded an image. http://imgur.com/JkmzVbV I need a command for Stata to...

    Started by Melih‎, 02-18-2017 10:49 AM
    stata
    • Replies: 0
    • Views: 794
    02-18-2017, 10:49 AM Go to last post
  19. sttocc to create a nested case-control study in stata

    Hi all, I am using sttocc to created a nested case control study, within an incident epilepsy population. The commands therefore reads as follows:...

    Started by hayley‎, 02-09-2017 07:37 AM
    nestec case-control study, stata, sttocc
    • Replies: 0
    • Views: 807
    02-09-2017, 07:37 AM Go to last post
  20. Loops and Preserve

    I have this piece of code: gen graph =. preserve forvalues v = 10(1)12 { replace graph = `v' drop if sales`v' == 0 | sales`v' ==. |...

    Started by minnari‎, 01-24-2017 08:28 PM
    • Replies: 0
    • Views: 1,459
    01-24-2017, 08:28 PM Go to last post
  21. How can I calculate the area of ROC curve of a Cox model?

    I have created a Cox regression model on a dataset. Now I want to test its performance with the ROC curves, but I don't find any command in stata to...

    Started by Lore88x‎, 11-16-2012 09:19 AM
    • Replies: 4
    • Views: 7,418
    01-09-2017, 10:54 PM Go to last post
  22. About stci command

    Dear experts, After using stci command, . stci if factorA==0, by(factorB) failure _d: pfsevent analysis time _t: ...

    Started by bestmic‎, 01-02-2017 11:22 AM
    • Replies: 0
    • Views: 1,829
    01-02-2017, 11:22 AM Go to last post
  23. Recursive Partitioning in Stata

    Dear all expert, I am going to review the survival of a group of cancer patients. I would like to explore the potential use of recursive...

    Started by bestmic‎, 12-20-2016 11:42 AM
    • Replies: 2
    • Views: 2,110
    01-02-2017, 09:01 AM Go to last post
  24. Median Survival after multivariate Kaplan Meier Analysis

    Dear experts, I am a newbie. I am performing an KM analysis and obtain the KM curve by the followings: stcox outcome factorA factorB...

    Started by bestmic‎, 01-02-2017 08:57 AM
    • Replies: 0
    • Views: 890
    01-02-2017, 08:57 AM Go to last post
  25. Coding for control variables in Stata 14 in linear regression?

    Hi - I need to control for two variables in my linear regression, the code thus far is; sort dde2 by dde2: regress sustain I have two...

    Started by TruroJP‎, 12-02-2016 05:26 PM
    code, regression, regression analysis, stata, stata 14
    • Replies: 0
    • Views: 1,839
    12-02-2016, 05:26 PM Go to last post
  26. Meta-analysis of diagnostic test using MCMC

    Hi. Is there some good hands-on tutorial about running MCMC analysis for the meta-analysis of diagnostic tests? Is it inbuilt STATA Bayesian analysis...

    Started by Vlajkony‎, 07-16-2016 07:42 PM
    diagnostic test, mcmc, mcmcglmm, meta-analysis
    • Replies: 8
    • Views: 2,858
    11-23-2016, 02:01 AM Go to last post
  27. Hod do I display raw data from bootstrap result in Stata

    Dear all, I have been given the required code to create a bootstrap analysis of the difference in costs between two groups. I now need to see the...

    Started by CE479‎, 10-01-2016 02:34 AM
    • Replies: 1
    • Views: 2,163
    10-03-2016, 03:29 AM Go to last post
  28. gen newvar "3+"

    Amateur stata user here. I have created a new variable ("traumas") that is meant to have categories "%reporting" 0, 1, 2, or 3+ health conditions...

    Started by nazmi1‎, 10-02-2016 08:11 PM
    • Replies: 0
    • Views: 1,433
    10-02-2016, 08:11 PM Go to last post
  29. How to keep omitted categorical variable on clogit model??

    Currently I am doing choice experiment modelling using conditional logistic model. I am treating all of my attributes as categorical variables....

    Started by ari raka‎, 09-23-2016 07:14 AM
    categorical, choice experiment, clogit, omitted variables, stata 14
    • Replies: 1
    • Views: 1,495
    09-23-2016, 07:44 AM Go to last post
  30. Find corresponding value to extreme score

    Hi, I have data that look something like: id score1 score2 score3 year1 year2 year3 5 90 42 64 2000 2001 2002...

    Started by leonedelman‎, 09-20-2016 06:08 PM
    • Replies: 0
    • Views: 1,844
    09-20-2016, 06:08 PM Go to last post
  31. Graphics of Time Series (tsset command isn't working due to repeated time values)

    Hey everyone, I have a question regarding the creation of graphics for time series. I have two rows with one being the study subject ( 1...

    Started by Sophie Hoffmann‎, 09-13-2016 09:00 AM
    graph, graphics, line graph, time series
    • Replies: 0
    • Views: 1,350
    09-13-2016, 09:00 AM Go to last post
  32. Thumbs up To computing residuals and predicting values

    Goodafternoon, I am trying to compute residuals. In the first time, I do my regression such as : regress v1 v2 v3 v4 v5 pays_encode1...

    Started by Charlotte63‎, 09-12-2016 08:47 AM
    • Replies: 0
    • Views: 1,086
    09-12-2016, 08:47 AM Go to last post
  33. Question Help needed!!!How to write STATA code to count the number for the following question?

    I have 5 variables (a1,a2,a3,a4,a5), all of which are categorical and coded as 0=no, 1=yes,98=refuse to report, 99=unknown. I need to calculate the...

    Started by belindalimm‎, 09-07-2016 12:23 AM
    • Replies: 0
    • Views: 1,090
    09-07-2016, 12:23 AM Go to last post
  34. using wild card for matching string variables

    Hi, I have created a string (pattern) variable containing 0 and 1. For example, a string pattern 0000000011 means the person appears in 10 years of...

    Started by Ujjwal K Das‎, 08-15-2016 03:16 AM
    stata 13, string variable
    • Replies: 0
    • Views: 1,529
    08-15-2016, 03:16 AM Go to last post
  35. String: Pull characters before "-"

    Hi guys, I have a string variable that looks something like this: MMDC-6MA. I need to extract the first letters before the sign "-", So I need...

    Started by Marvin85‎, 08-04-2016 05:13 PM
    string
    • Replies: 0
    • Views: 1,497
    08-04-2016, 05:13 PM Go to last post
  36. Conditional multinomial in STATA - similar to hospital choice models

    Hello, I am having a card time figuring out which conditional logit test to run, and how to structure my data. The set-up is: I am trying to...

    Started by dpac‎, 08-03-2016 03:54 PM
    • Replies: 0
    • Views: 1,052
    08-03-2016, 03:54 PM Go to last post
  37. mean-test

    Dear colleagues, Im trying to run a mean test (ttest) for the variable satisfaction with life by neighborhoods, however Im considering 3...

    Started by Barreto‎, 07-20-2016 06:50 PM
    • Replies: 1
    • Views: 1,499
    07-20-2016, 07:00 PM Go to last post
  38. Granger Causality and Heteroskedasticity

    Hello! My name is Magdalena and I have the following problem; I have daily returns of 60 firms from the year 2000 to 2015. My aim is to test for...

    Started by magdalenag‎, 07-11-2016 11:51 AM
    granger, heteroskedasticity, stata
    • Replies: 1
    • Views: 1,453
    07-11-2016, 01:54 PM Go to last post
  39. switch x and y axis in a dot graph

    Hello I am new to this forum and stata, but I tried really hard to construct a special dot graph. It would be great if you could help me. I...

    Started by Olivia2‎, 07-03-2016 09:58 AM
    • Replies: 0
    • Views: 1,325
    07-03-2016, 09:58 AM Go to last post
  40. groups in xtmixed

    Hi all Having some issues with Stata when running xtmixed. The main issue being the number of groups (in initial Group Variable table) is not what...

    Started by gy13her‎, 06-27-2016 07:35 AM
    multilevel models, stata
    • Replies: 0
    • Views: 1,207
    06-27-2016, 07:35 AM Go to last post
  41. Labelling dummy variables with underlying variable names

    Hey there, I'm very new to Stata and fairly certain this has a simple solution but i don't seem to find it. I have a Dataset with 200 different...

    Started by Chris2291‎, 06-22-2016 09:48 AM
    • Replies: 0
    • Views: 1,600
    06-22-2016, 09:48 AM Go to last post
  42. Bar graph and box-and-whisker plot sorted over binary variable

    Hi, I have a dataset that looks like that below. I want to create graphs like the example below: The variable names var1-var4 in my...

    Started by teapot‎, 06-21-2016 03:00 PM
    • Replies: 0
    • Views: 1,204
    06-21-2016, 03:00 PM Go to last post
  43. Estimating treatment effect using movestay command

    Hello, I want to use the movestay command in Stata but my data is complicated and Im unsure how to proceed. I would like to estimate the...

    Started by MichielvanRossum‎, 06-05-2016 08:27 AM
    movestay, stata, switching regression
    • Replies: 1
    • Views: 2,432
    06-08-2016, 11:09 AM Go to last post
  44. Write an equation in mata format

    Dear stata users, I am trying to setup the following equation in mata format: C1 + C2*((lnx)^2- C3)+ C4* ((lnx)^2*lnx- C5) I have attached the...

    Started by ledzep‎, 05-29-2016 10:12 AM
    • Replies: 0
    • Views: 1,400
    05-29-2016, 10:12 AM Go to last post
  45. Marginal effects after logistic

    I have all binary/categorical variables, and I am trying to decide between mfx/margins to obtain marginal effects in Stata. They seem to provide...

    Started by oncearunner‎, 04-14-2016 12:41 PM
    logistic regression stata, marginal effects
    • Replies: 2
    • Views: 1,680
    05-28-2016, 07:07 AM Go to last post
  46. svyset

    Hi, I have a database in which there are patients. Sample size is 1000. (100% response due to spare sample/replacement etc) 20 GPs were involved....

    Started by Drone999‎, 05-26-2016 08:18 AM
    survey analysis, survey weights
    • Replies: 0
    • Views: 1,225
    05-26-2016, 08:18 AM Go to last post
  47. Overlaying two histograms/lines?

    Hi all! I am going nuts in trying to do a graph which to me looks like the basic graph ever. Basically I have two variables: the score that the...

    Started by belfagor71‎, 06-25-2013 06:00 AM
    • Replies: 5
    • Views: 12,507
    05-25-2016, 09:32 AM Go to last post
  48. Pre and post with control: Difference in median

    I created the difference between pre and post UOF counts and then generate a variable that represents the median for each group. base on my...

    Started by Marvin85‎, 05-17-2016 04:01 PM
    median difference
    • Replies: 7
    • Views: 1,883
    05-19-2016, 11:51 AM Go to last post
  49. Stata: Drop company if last stock value of prior year is smaller than a certain value

    Hey all, I have a CRISP dataset with daily stock values for campanies from the first of december 2010 until the end of 2011. Now I need to...

    Started by Prometheus94‎, 05-15-2016 10:32 AM
    • Replies: 0
    • Views: 1,076
    05-15-2016, 10:32 AM Go to last post
  50. regression OLS e IV

    I need estimate a model specification by OLS and a model IV and endogeneity (cross-sectional data). When I try to estimate OLS, the standard errors...

    Started by Carla VN‎, 05-13-2016 02:25 PM
    • Replies: 0
    • Views: 1,102
    05-13-2016, 02:25 PM Go to last post
  51. Problem Logistic regression

    Hi, I want to do a logistic regression on proportional data in Stata that I've done with R before. So in R I used cbind to combine the two rows...

    Started by Buckyball‎, 05-10-2016 08:20 AM
    • Replies: 0
    • Views: 1,138
    05-10-2016, 08:20 AM Go to last post
  52. Help making a basic but large table in Stata

    Thanks for reading :wave: I am a beginner :confused: and trying to make descriptive tables. I am trying to create an 18x18 cross-table. The 18...

    Started by statakiss‎, 04-27-2016 03:51 AM
    big data in stata, cross tabulation, table
    • Replies: 0
    • Views: 1,531
    04-27-2016, 03:51 AM Go to last post
  53. Stata: Test that the difference between two groups = -1

    Does anyone know how to test the hypothesis that the difference between people without and with kids = -1 per night in Stata? I have the data set...

    Started by hbossut‎, 04-23-2016 01:42 PM
    alternative hypothesis, hypothesis, null hypothesis, stata, test
    • Replies: 0
    • Views: 1,326
    04-23-2016, 01:42 PM Go to last post
  54. Moved: Graphically check linearity in logit regression

    Started by Phaedrus‎, 07-21-2014 07:50 AM
    • Replies: -
    • Views: -
    04-19-2016, 10:59 AM Go to last post
  55. Regression with missing data

    Hi all So I just want to do a quick linear regression, but when I initially tried I had an error (r(2000 no observations). I've realised my issue...

    Started by gga10hr‎, 04-15-2016 01:53 PM
    linear regression, missing values
    • Replies: 1
    • Views: 1,385
    04-15-2016, 02:18 PM Go to last post
  56. Matrix multiplication operation in stata

    Hi I declared the following matrix mat p_h1=J(22,3,.) that contains some numbers. And now i need this simple task. Create another matrix with the...

    Started by jfca283‎, 04-12-2016 11:09 AM
    • Replies: 0
    • Views: 1,181
    04-12-2016, 11:09 AM Go to last post
  57. Drop duplicates by criteria :confused:

    Hello, i want to drop duplicates, but using a criteria. For example i am working with a dataset who has id for a lot of student, but the same student...

    Started by Banana_fish‎, 04-11-2016 06:15 PM
    • Replies: 0
    • Views: 1,325
    04-11-2016, 06:15 PM Go to last post
  58. Can the if option of xtreg unbalance Panel Data?

    Hi everyone, I have a tricky question regarding the way xtreg works. It amy also be a very simple question Using a balanced Panel Data with 10...

    Started by Alexandra 82‎, 04-03-2016 10:16 AM
    balanced data, unbalanced data, xtreg
    • Replies: 1
    • Views: 2,035
    04-04-2016, 02:47 AM Go to last post
  59. Latent Class Analysis with Stata

    Hi, Have anyone used Stata for Latent Class Analysis? I want to estimate willingness to pay with it, but I'm not sure it is possible with this...

    Started by jsuazo‎, 06-14-2013 10:55 AM
    2 Pages
    1 2
    lca, stata
    • Replies: 20
    • Views: 21,533
    04-01-2016, 02:18 PM Go to last post
  60. no observations r(2000)

    Dear all, I have just started using Stata for a time series analysis. However, there has already been to much failure before even started the acutal...

    Started by beckham-7‎, 10-25-2011 04:30 AM
    • Replies: 4
    • Views: 16,057
    03-31-2016, 01:21 PM Go to last post

+ Post New Thread
Page 1 of 33 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