1. 10-14-2010
    Views:
    27,489
+ 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 1907

Forum: Stata

Stata usage and programming, Stata help

  1. mean-test

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

    Started by Barreto‎, 07-20-2016 06:50 PM
    • Replies: 1
    • Views: 159
    07-20-2016, 07:00 PM Go to last post
  2. 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: 5
    • Views: 256
    07-20-2016, 01:38 PM Go to last post
  3. 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: 175
    07-11-2016, 01:54 PM Go to last post
  4. 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: 297
    07-03-2016, 09:58 AM Go to last post
  5. 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: 246
    06-27-2016, 07:35 AM Go to last post
  6. 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: 218
    06-22-2016, 09:48 AM Go to last post
  7. 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: 153
    06-21-2016, 03:00 PM Go to last post
  8. Estimating treatment effect using movestay command

    Hello, I want to use the movestay command in Stata but my data is complicated and I’m 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: 769
    06-08-2016, 11:09 AM Go to last post
  9. 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: 340
    05-29-2016, 10:12 AM Go to last post
  10. 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: 467
    05-28-2016, 07:07 AM Go to last post
  11. 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: 153
    05-26-2016, 08:18 AM Go to last post
  12. 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: 8,861
    05-25-2016, 09:32 AM Go to last post
  13. 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: 447
    05-19-2016, 11:51 AM Go to last post
  14. 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: 220
    05-15-2016, 10:32 AM Go to last post
  15. 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: 186
    05-13-2016, 02:25 PM Go to last post
  16. 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: 224
    05-10-2016, 08:20 AM Go to last post
  17. 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: 377
    04-27-2016, 03:51 AM Go to last post
  18. 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: 267
    04-23-2016, 01:42 PM Go to last post
  19. 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
  20. 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: 232
    04-15-2016, 02:18 PM Go to last post
  21. 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: 233
    04-12-2016, 11:09 AM Go to last post
  22. 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: 229
    04-11-2016, 06:15 PM Go to last post
  23. 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: 354
    04-04-2016, 02:47 AM Go to last post
  24. 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: 14,788
    04-01-2016, 02:18 PM Go to last post
  25. 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: 11,132
    03-31-2016, 01:21 PM Go to last post
  26. 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 09:59 AM
    average, data, stata
    • Replies: 3
    • Views: 486
    03-30-2016, 10:52 AM Go to last post
  27. Extrapolation methods book

    Can someone recommend me some good book about extrapolation (ideally with STATA) which do not cover only survival but also extrapolations of other...

    Started by Vlajkony‎, 03-27-2016 11:10 AM
    • Replies: 1
    • Views: 698
    03-27-2016, 05:22 PM Go to last post
  28. Unhappy How program a Propensity Score Matching?

    Hello I need to "program" a Propensity Score Matching, but using only loops and not pscore or other command, my problem is that i dont now how...

    Started by Banana_fish‎, 03-16-2016 10:44 AM
    • Replies: 1
    • Views: 597
    03-16-2016, 11:53 AM Go to last post
  29. Adding up values of variables

    Hey guys, I got a rather complicated problem: I have two variables, ID and Country ID Country 11 US 11 ...

    Started by Andreas Hofer‎, 03-10-2016 09:59 AM
    calculation, stata, variable
    • Replies: 0
    • Views: 466
    03-10-2016, 09:59 AM Go to last post
  30. Question how join two tables into one

    for example i have var: var1 1 2 3 i want to add new obs . local new = _N + 1 . set obs `new'

    Started by wolf7808‎, 03-09-2016 10:24 AM
    • Replies: 0
    • Views: 273
    03-09-2016, 10:24 AM Go to last post
  31. Save graph vs saving

    Hello guys, What is the different between the "saving" options at the end of the command and the new command save graph filename? I have a do...

    Started by Marvin85‎, 03-01-2016 12:38 PM
    graph, histogram save
    • Replies: 2
    • Views: 475
    03-04-2016, 06:57 AM Go to last post
  32. Learning to make programs

    Hey guys. So I'm learning to program ado's and I have a question. Say I want to make a random joke generator in stata from a list of 100 jokes....

    Started by starpen‎, 02-27-2016 02:09 PM
    ado, code, program
    • Replies: 0
    • Views: 377
    02-27-2016, 02:09 PM Go to last post
  33. Date variable- only month

    Hi Guys, I have a date variable, save in the type below. example 03 Jul 14 DateToday long %dD_m_Y I would like to...

    Started by Marvin85‎, 07-24-2014 11:05 AM
    date, month
    • Replies: 5
    • Views: 1,112
    02-23-2016, 09:34 AM Go to last post
  34. Help with data management please

    Hi, I have a dataset that are all string and missing data are as NA. I am trying to convert it to numeric with encode command. I don't know how to...

    Started by Newcomer‎, 02-15-2016 05:19 AM
    • Replies: 1
    • Views: 473
    02-15-2016, 07:27 AM Go to last post
  35. 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 11:02 AM
    identification, social security number
    • Replies: 1
    • Views: 518
    02-12-2016, 02:42 AM Go to last post
  36. 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 08:37 AM
    • Replies: 1
    • Views: 318
    02-11-2016, 10:54 AM Go to last post
  37. 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 11:06 AM
    date variable, id variable
    • Replies: 2
    • Views: 399
    02-05-2016, 08:48 AM Go to last post
  38. 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 01:44 PM
    • Replies: 0
    • Views: 371
    02-01-2016, 01:44 PM Go to last post
  39. 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 02:15 PM
    • Replies: 2
    • Views: 505
    02-01-2016, 10:07 AM Go to last post
  40. 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 02:13 AM
    • Replies: 0
    • Views: 457
    01-28-2016, 02:13 AM Go to last post
  41. 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 12:58 AM
    • Replies: 0
    • Views: 334
    01-27-2016, 12:58 AM Go to last post
  42. 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 01:37 PM
    • Replies: 3
    • Views: 1,781
    01-08-2016, 04:51 AM Go to last post
  43. 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 04:43 AM
    • Replies: 0
    • Views: 368
    01-08-2016, 04:43 AM Go to last post
  44. 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 06:50 AM
    • Replies: 5
    • Views: 468
    01-05-2016, 06:53 AM Go to last post
  45. 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 06:03 AM
    • Replies: 1
    • Views: 594
    12-15-2015, 08:43 AM Go to last post
  46. 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 10:01 AM
    • Replies: 0
    • Views: 497
    12-06-2015, 10:01 AM Go to last post
  47. 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 08:01 AM
    • Replies: 0
    • Views: 431
    12-03-2015, 08:01 AM Go to last post
  48. 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 01:02 PM
    date variable
    • Replies: 0
    • Views: 573
    11-20-2015, 01:02 PM Go to last post
  49. 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 10:08 AM
    hhi, stata
    • Replies: 2
    • Views: 739
    11-12-2015, 10:56 AM Go to last post
  50. 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 06:00 AM
    • Replies: 0
    • Views: 356
    11-10-2015, 06:00 AM Go to last post
  51. 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 10:41 AM
    • Replies: 3
    • Views: 779
    11-06-2015, 09:47 AM Go to last post
  52. 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 05:35 AM
    • Replies: 0
    • Views: 516
    10-28-2015, 05:35 AM Go to last post
  53. 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 06:16 PM
    • Replies: 0
    • Views: 574
    10-24-2015, 06:16 PM Go to last post
  54. 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 10:35 AM
    stata12 merge
    • Replies: 0
    • Views: 577
    10-15-2015, 10:35 AM Go to last post
  55. [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 05:47 AM
    • Replies: 7
    • Views: 17,900
    10-08-2015, 10:08 AM Go to last post
  56. 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 09:52 AM
    • Replies: 2
    • Views: 681
    10-07-2015, 02:39 PM Go to last post
  57. 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 01:22 PM
    date, string to date, td. mdy
    • Replies: 0
    • Views: 330
    10-07-2015, 01:22 PM Go to last post
  58. 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 09:10 AM
    • Replies: 0
    • Views: 546
    10-02-2015, 09:10 AM Go to last post
  59. 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 03:56 PM
    • Replies: 0
    • Views: 611
    09-22-2015, 03:56 PM Go to last post
  60. 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 09:31 AM
    • Replies: 1
    • Views: 714
    09-22-2015, 02:47 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