1. 10-14-2010
    Views:
    24,456
+ Post New Thread
Page 1 of 32 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 1879

Forum: Stata

Stata usage and programming, Stata help

  1. ID-number in Stata

    Dear you, I might have a stupid question, but I have not found the answer on google, and I hope someone can help. I have a dataset where...

    Started by sju‎, 02-07-2016 12:02 PM
    identification, social security number
    • Replies: 1
    • Views: 211
    Yesterday, 03:42 AM Go to last post
  2. ANOVA repeated measures

    Struggeling to find the right command in STATA for this repeated measures. I am going to to a repeated measures of bloodpressure testing for...

    Started by ama_nil‎, 02-11-2016 09:37 AM
    • Replies: 1
    • Views: 101
    02-11-2016, 11:54 AM Go to last post
  3. New ID variable using date variable

    I have a ID# for all my teachers but I noticed that there are some instances that an 2 or more teachers can have the same ID#. I want to create...

    Started by Marvin85‎, 02-04-2016 12:06 PM
    date variable, id variable
    • Replies: 2
    • Views: 216
    02-05-2016, 09:48 AM Go to last post
  4. Loop and mata - Foreach file doesn't work

    Hi I could get this simple task to work mat rama=J(17,3,.) forval j=1/17 { quiet summ sexo if b14_2_rev3n==`j' local b14=r(sum_w)...

    Started by jfca283‎, 02-01-2016 02:44 PM
    • Replies: 0
    • Views: 172
    02-01-2016, 02:44 PM Go to last post
  5. stata matrix to Mata?

    Hi I have a matrix in Stata but i need to export it to Mata. I've been reading abiut the issue i'm asking and i couldn't get a simple order to...

    Started by jfca283‎, 01-22-2016 03:15 PM
    • Replies: 2
    • Views: 259
    02-01-2016, 11:07 AM Go to last post
  6. Malmquist Productivity Index With STATA 13

    The Malmquist Index (MI) with sTATA 13 is a bilateral index that can be used to compare the production technology of two economies. It is named after...

    Started by OlhDt_semarang‎, 01-28-2016 03:13 AM
    • Replies: 0
    • Views: 163
    01-28-2016, 03:13 AM Go to last post
  7. Question about panel data

    Hi, I'm new to Stata and have firme's panel data. I want to eliminate firms that exit from export market. I mean if a firm export in year t but ...

    Started by fzahra‎, 01-27-2016 01:58 AM
    • Replies: 0
    • Views: 155
    01-27-2016, 01:58 AM Go to last post
  8. Basic stata help

    Hello, I'm new to stata so this is a fairly basic question! I'm trying to find whether there's a relationship between gender and weekly wages, but...

    Started by TPJ66‎, 12-24-2015 02:37 PM
    • Replies: 3
    • Views: 1,391
    01-08-2016, 05:51 AM Go to last post
  9. Stata error with xml_tab

    Hello everyone, I am trying to run a do-file on stata but it doesn't work. I always get the same message: "using not allowed" when I try to use...

    Started by Eometh‎, 01-08-2016 05:43 AM
    • Replies: 0
    • Views: 187
    01-08-2016, 05:43 AM Go to last post
  10. generating average with missing more than X values

    hi all, let's say i want to take the average of 5 scores for class tests for each student in a class. the data looks like the below EXCEPT...

    Started by bvowe‎, 01-05-2016 10:59 AM
    average, data, stata
    • Replies: 2
    • Views: 213
    01-05-2016, 01:20 PM Go to last post
  11. combining two continious variables

    Hi there! I have two variables: var1(12, 3, 5, 20, 15...) and var2(5, 3, 16, 15, 22, 30, 7...) now i want to combine them into something like...

    Started by fakhijr‎, 12-15-2015 07:50 AM
    • Replies: 5
    • Views: 277
    01-05-2016, 07:53 AM Go to last post
  12. Question Is it possible to create forest plots from precomputed data?

    Hi all, 1. Is it possible to create forest plots from precomputed data? I'm not sure what syntax to use (I'm unfamiliar with Stata - more familiar...

    Started by j4ne‎, 12-15-2015 07:03 AM
    • Replies: 1
    • Views: 400
    12-15-2015, 09:43 AM Go to last post
  13. linear or quadratic relationship:

    How can you test whether Y and X in a multiple regression have a linear or quadratic relationship using STATA? Any help would be greatly...

    Started by stats2424‎, 12-06-2015 11:01 AM
    • Replies: 0
    • Views: 338
    12-06-2015, 11:01 AM Go to last post
  14. White Papers

    I publish a free e-Magazine for SAS/R/SQL and a few other softwares. I was recently asked to add Stata, but I am not very familiar with this...

    Started by cjohnson‎, 12-03-2015 09:01 AM
    • Replies: 0
    • Views: 279
    12-03-2015, 09:01 AM Go to last post
  15. Monthly date variable from integers

    I have a variable that takes values 1,2,3...39. Each value indicates a month-year. How could I create a date variable in STATA with this information,...

    Started by jsaldain‎, 11-20-2015 02:02 PM
    date variable
    • Replies: 0
    • Views: 402
    11-20-2015, 02:02 PM Go to last post
  16. Calculate HHI

    Hi Guys, i am pretty new when it comes to using stata, since i need it to finish my master thesis. Now i have to to calculate the HHI for over...

    Started by Gerrit Komrij‎, 11-12-2015 11:08 AM
    hhi, stata
    • Replies: 2
    • Views: 503
    11-12-2015, 11:56 AM Go to last post
  17. How to make 35 observations from 12 items into one variable in Stata?

    Hi, I have a 12 item measurement with Likert scale (1-5) that two dimensions, 6 items for each. I have 35 observations and now I need to simplify...

    Started by katrins08‎, 11-10-2015 07:00 AM
    • Replies: 0
    • Views: 224
    11-10-2015, 07:00 AM Go to last post
  18. Exclamation Help!

    Hi, Could you help me out with a STATA problem? Probably for you it would be like teaching alphabet to a kid.*

    Started by Tom Miller‎, 10-31-2015 11:41 AM
    • Replies: 3
    • Views: 583
    11-06-2015, 10:47 AM Go to last post
  19. cumulative graph

    Hi. I have 100 people who, at different percentages (8-35%), have obtained a certain status. I am trying to sort/accumulate the percentages on the...

    Started by lawin01‎, 10-28-2015 06:35 AM
    • Replies: 0
    • Views: 322
    10-28-2015, 06:35 AM Go to last post
  20. Panel or CrossSection with lots of dummies ?

    Hello Friends I'm writing an article about the relation between sales and scores ( games ). My data base consist in 4 variables ( Sales, Year,...

    Started by FlavioShneider‎, 10-24-2015 07:16 PM
    • Replies: 0
    • Views: 415
    10-24-2015, 07:16 PM Go to last post
  21. Lightbulb Matching children's information to parents

    Dear Stata users I am working on the Labor force survey, and I am trying to match children information to parents. Here the syntax: use...

    Started by giuliadn‎, 10-15-2015 11:35 AM
    stata12 merge
    • Replies: 0
    • Views: 427
    10-15-2015, 11:35 AM Go to last post
  22. [Stata] - String values on axis of graph

    Hi there, I would like to create a graph with the value of a string variable in the x axis. Right now I can do line price id and I...

    Started by kungal‎, 09-02-2010 06:47 AM
    • Replies: 7
    • Views: 16,330
    10-08-2015, 11:08 AM Go to last post
  23. Annual percentage change in incidence

    Hello everyone Could you please give an idea to calculate annual percentage change in incidence in stata??

    Started by Bimi‎, 10-07-2015 10:52 AM
    • Replies: 2
    • Views: 477
    10-07-2015, 03:39 PM Go to last post
  24. String date to date variable

    I have a string variable containing dates (1/28/15) (DAateToday) and would like to make it a real date variable. I tried: gen...

    Started by Marvin85‎, 10-07-2015 02:22 PM
    date, string to date, td. mdy
    • Replies: 0
    • Views: 189
    10-07-2015, 02:22 PM Go to last post
  25. Question How to run regression by industry and year in STATA

    Hello, I am new to STATA and encountering problem to run regression by industry and year. I need to calculate residuals for each observation...

    Started by mtahir‎, 10-02-2015 10:10 AM
    • Replies: 0
    • Views: 357
    10-02-2015, 10:10 AM Go to last post
  26. identidication problem in nl estrimation (STATA)

    Dear All: I am trying to estimate the parapétters in the equation spccifyed in the file attached. Since it is quite non-liner, we have tryed...

    Started by lletelie‎, 09-22-2015 04:56 PM
    • Replies: 0
    • Views: 475
    09-22-2015, 04:56 PM Go to last post
  27. Keep duplicates with the highest value

    Dear all, I have a dataset with a lot of duplicates. I'm using this commands: then my dataset looks like that for example:

    Started by pelias2‎, 09-16-2015 10:31 AM
    • Replies: 1
    • Views: 542
    09-22-2015, 03:47 AM Go to last post
  28. Reweighting with bootstrapping and survey design

    Hello I am trying to do a DFL style reweighting with bootstrap weights and SEs. I have a 2 stage stratified sample over 5 rounds (repeated cross...

    Started by fatima_‎, 09-15-2015 03:06 PM
    • Replies: 0
    • Views: 363
    09-15-2015, 03:06 PM Go to last post
  29. Pie chart and percentage Stata

    Hello, I'm starting with Stata 13 and I'm trying to make a pie chart with the %s included. I have "press" all the "buttons" but nothing... It`s...

    Started by carlospbm‎, 09-13-2015 04:55 PM
    graphics, stata
    • Replies: 2
    • Views: 428
    09-14-2015, 04:59 PM Go to last post
  30. Obtaining summ of coefficients of lagged variables

    I am estimating the following regression: yi,t = a + b1xi,t + b2xi,t-1 + b3xi,t-2 + e How can I report, using outreg2, b2 + b3; that is, the...

    Started by jsaldain‎, 09-14-2015 07:22 AM
    • Replies: 0
    • Views: 233
    09-14-2015, 07:22 AM Go to last post
  31. preparing/scoring dataset

    Dear all, I really hope that somebody can help me out. I need to run a factoranalyse on two different scales (Regulatory focus and regulatory...

    Started by CorineSlab‎, 09-08-2015 03:50 AM
    • Replies: 1
    • Views: 512
    09-14-2015, 05:04 AM Go to last post
  32. Nomogram

    Hi everybody Are there any command in stata for drawing multivariable Nomogram?

    Started by milad‎, 09-05-2015 03:47 PM
    • Replies: 4
    • Views: 570
    09-06-2015, 04:32 PM Go to last post
  33. Dummy variable in meta-regression in Stata

    Cab meta-regression model be used to investigate dummy independent variables ( 0 and 1 variable) such as continues variables? How i can determine...

    Started by milad‎, 09-05-2015 03:44 PM
    • Replies: 0
    • Views: 251
    09-05-2015, 03:44 PM Go to last post
  34. Need help with the code to create a signle data file out of 1,200 txt's

    Hello dear forum members, My data include roughly 1,200 *.txt files, where (a) * is a 3 to 7 digit non-consecutive number representing...

    Started by kiton‎, 08-30-2015 11:05 AM
    data convertion, data entry, recoding
    • Replies: 1
    • Views: 404
    08-31-2015, 09:54 AM Go to last post
  35. Question Regression with two fixed effects in STATA 11

    Hello, I need to run a standard econometric model (a standard panel regression) with two fixed effects in STATA 11. Could you please help me and...

    Started by stata_s‎, 08-30-2015 01:00 PM
    code for this please, fixed effects model, panel data, stata 11
    • Replies: 0
    • Views: 318
    08-30-2015, 01:00 PM Go to last post
  36. Stata keeps deleting observations from a variable?

    Hi all, I am creating one variable from several dummy variables using gen newvarname=0 replace varname=1 if varname==1 replace varname=2 if...

    Started by georgina1‎, 08-29-2015 12:16 AM
    • Replies: 0
    • Views: 317
    08-29-2015, 12:16 AM Go to last post
  37. Change score in long format

    Hey guys. So I'm working on data and need to compute a change score. The data is panel data, where ID is country and I have 12 years. Here's my...

    Started by starpen‎, 08-27-2015 05:10 AM
    change score, lead, panel data
    • Replies: 0
    • Views: 316
    08-27-2015, 05:10 AM Go to last post
  38. imputations

    Dear all: I am working with data from a large cohort study in which participants were asked, retrospectively, about their work history. Data are...

    Started by sonia zam‎, 08-24-2015 06:53 PM
    • Replies: 0
    • Views: 394
    08-24-2015, 06:53 PM Go to last post
  39. Extract numbers from a string

    I have this data of duration in the following format:PT2H4M37S and I want to extract the hours, minutes and seconds separately. I tried to use...

    Started by kaisermuhle‎, 08-18-2015 06:47 AM
    • Replies: 6
    • Views: 579
    08-24-2015, 03:03 AM Go to last post
  40. CIF with 95% confidence interval STATA 13

    I wanted to ask for help on how to draw the CIF curve after a competing risk analysis in STATA 13, along with the 95% confidence interval on the same...

    Started by eabuassi‎, 08-12-2015 05:42 PM
    • Replies: 1
    • Views: 540
    08-21-2015, 02:53 AM Go to last post
  41. Removal of text values in data

    Hi, I'm scratching my head - I'm dealing with data collected on paper and entered manually where the vast majority is numeric, lots of binary...

    Started by Matt Stat15‎, 07-13-2015 11:49 AM
    • Replies: 2
    • Views: 508
    08-20-2015, 10:25 AM Go to last post
  42. Lightbulb Moving Window Principal Component Analysis

    Hi, I'm finishing my thesis we're I'm forming currency-hedge investment portfolios out of the PCA on the currencies. I need to do a PCA using a...

    Started by JBM_1990‎, 06-02-2014 08:06 AM
    moving window, pca, r studio, rolling, stata
    • Replies: 2
    • Views: 1,378
    08-19-2015, 05:58 PM Go to last post
  43. Unhappy how generate a variable with his density of distribution

    Hello, I want generate a variable with the next density of distribution: f(x)=(2*e^(-(x^2)/2))/ √(2π) if x ≤ 0 & f(x) = 0 if x > 0. √= Square...

    Started by Banana_fish‎, 08-18-2015 08:43 PM
    • Replies: 1
    • Views: 272
    08-18-2015, 09:54 PM Go to last post
  44. Little help for a beginner?

    Hi all, I'm new to the forum! I have recently completed an introductory course in statistics and research methods using STATA. I am nearing...

    Started by LucasCu‎, 07-27-2015 04:44 PM
    • Replies: 2
    • Views: 510
    08-18-2015, 06:55 AM Go to last post
  45. Latent Class Analysis with lclogit and gllamm-wrapper lclogitml

    Hi all, I am having trouble fitting a latent class model with Stata. I have a panel data set from an online discrete choice experiment. Each...

    Started by Pelle‎, 08-18-2015 04:39 AM
    gllamm, latent class analysis, lclogit, stata
    • Replies: 0
    • Views: 394
    08-18-2015, 04:39 AM Go to last post
  46. Gravity with gravitas: a solution to the border puzzle

    Hello, I am aware that do file code is available on the net regarding the Anderson and van Wincoop article: Gravity with gravitas: a solution to the...

    Started by J. Simar‎, 08-16-2015 03:14 PM
    • Replies: 1
    • Views: 428
    08-17-2015, 03:54 AM Go to last post
  47. ARDL model in STATA

    Hi to all, I am also using the ARDL in my model. So I used the varsoc variable to determine the optimum lag for my variables, than I used the ADF...

    Started by Viktorija‎, 08-12-2015 11:01 AM
    ardl, linear regression, stata
    • Replies: 0
    • Views: 595
    08-12-2015, 11:01 AM Go to last post
  48. Help with Chi squared distribution (STATA)

    Hello, i generate a chi square distribution, but i research a lot, and i can´t find a test that will help me to know through hypothesis contrast if...

    Started by Banana_fish‎, 08-07-2015 07:54 PM
    • Replies: 1
    • Views: 398
    08-07-2015, 09:27 PM Go to last post
  49. Thumbs up table with weighted and non weighted values?

    Hi I'm trying to obtain in one table something like Area Expanded Non-Expanded a 1200 6 b 300 2...

    Started by jfca283‎, 08-05-2015 02:19 PM
    • Replies: 3
    • Views: 396
    08-05-2015, 03:37 PM Go to last post
  50. Can someone please assist!!!

    Hello, I have an unbalanced panel data, 145802 observations for about 35432 firms in total. I need to estimate firm level TFP. Does anyone know the...

    Started by fzahra‎, 08-03-2015 04:27 PM
    • Replies: 1
    • Views: 385
    08-05-2015, 12:23 PM Go to last post
  51. Fixed Effects Regression

    I am working on a project that has a substantial degree of variability in the availability of data from the beginning to end of the study. I...

    Started by DanielC123‎, 08-01-2015 11:34 AM
    • Replies: 1
    • Views: 379
    08-01-2015, 12:26 PM Go to last post
  52. Help for a beginner to stata

    Hi, Im new to Stata and having trouble with running a loop. I'm studding on export markets and I want to generate a dummy variable so that...

    Started by fzahra‎, 07-28-2015 03:02 AM
    • Replies: 0
    • Views: 387
    07-28-2015, 03:02 AM Go to last post
  53. Generating segregation variable

    Hey guys. I know this is really simple, I just can't figure it out and it's bugging me! So I have two variables: one is school ID (arbitrary...

    Started by starpen‎, 07-23-2015 04:43 PM
    categorical variable, generate new variable
    • Replies: 0
    • Views: 368
    07-23-2015, 04:43 PM Go to last post
  54. Comparing difference of two independent variables in a panel regression

    Hi Guys, currently writing on my thesis on the effect of executives' optimism on cash holdings. I am measuring the degree of optimism through...

    Started by ManuelEngelbrecht‎, 07-16-2015 11:14 AM
    • Replies: 1
    • Views: 533
    07-17-2015, 04:51 AM Go to last post
  55. STATA returns R(603) - IRF cannot be opened- after running a SVAR

    Dear talkstats users, I am trying to create IRFs after running a VAR - SVAR. The code is the following: matrix A =...

    Started by matenk123‎, 07-16-2015 02:15 PM
    error, irf, svar, var
    • Replies: 0
    • Views: 587
    07-16-2015, 02:15 PM Go to last post
  56. Meta-analysis for less than 4 studies using metandi?

    Bearing in mind that metandi command requires a minimum of four studies, which is appropriate command in case of less then 4 studies? There is a...

    Started by Vlajkony‎, 07-15-2015 02:38 PM
    • Replies: 3
    • Views: 529
    07-15-2015, 04:27 PM Go to last post
  57. Latent class analysis using runmplus with Stata

    I would like to perform a latent class analysis on my dataset using the runmplus package in Stata. Briefly this is what my database looks like ...

    Started by Rerun‎, 07-15-2015 11:35 AM
    latent class analysis, runmplus
    • Replies: 1
    • Views: 432
    07-15-2015, 03:41 PM Go to last post
  58. Post difficulty loading an ado file - please help

    Dear TalkStats/Stata, I am using STATA version 12.1 IC. I am trying to use a program defined in a third-party ado file (downloaded from here:...

    Started by churrofrog‎, 07-11-2013 05:00 AM
    ado, dominance, error, loading, plugin
    • Replies: 4
    • Views: 1,678
    07-06-2015, 04:24 AM Go to last post
  59. Help for stata

    I have a data base but the name of the variables is in the first row i ;(. I need that the name is in the header, but I don´t know how can do this....

    Started by Massiel‎, 07-02-2015 12:11 PM
    stata user
    • Replies: 1
    • Views: 478
    07-02-2015, 01:00 PM Go to last post
  60. Help! NY Stata tutor needed ASAP

    Hello -- We are seeking a NY tutor for stata for our son who will be entering an Economics PHD program in the Fall. We would like to hire a one...

    Started by CTPS12‎, 06-24-2015 12:54 PM
    • Replies: 3
    • Views: 638
    06-25-2015, 03:36 AM Go to last post

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