1. 10-14-2010
    Views:
    22,097
+ Post New Thread
Page 1 of 31 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 1847

Forum: Stata

Stata usage and programming, Stata help

  1. 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‎, Yesterday 10:05 AM
    data convertion, data entry, recoding
    • Replies: 1
    • Views: 69
    Today, 08:54 AM Go to last post
  2. 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‎, Yesterday 12:00 PM
    code for this please, fixed effects model, panel data, stata 11
    • Replies: 0
    • Views: 61
    Yesterday, 12:00 PM Go to last post
  3. 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-28-2015 11:16 PM
    • Replies: 0
    • Views: 112
    08-28-2015, 11:16 PM Go to last post
  4. 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 04:10 AM
    change score, lead, panel data
    • Replies: 0
    • Views: 116
    08-27-2015, 04:10 AM Go to last post
  5. 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 05:53 PM
    • Replies: 0
    • Views: 139
    08-24-2015, 05:53 PM Go to last post
  6. 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 05:47 AM
    • Replies: 6
    • Views: 281
    08-24-2015, 02:03 AM Go to last post
  7. 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 04:42 PM
    • Replies: 1
    • Views: 264
    08-21-2015, 01:53 AM Go to last post
  8. 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 10:49 AM
    • Replies: 2
    • Views: 316
    08-20-2015, 09:25 AM Go to last post
  9. 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 07:06 AM
    moving window, pca, r studio, rolling, stata
    • Replies: 2
    • Views: 944
    08-19-2015, 04:58 PM Go to last post
  10. 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 07:43 PM
    • Replies: 1
    • Views: 123
    08-18-2015, 08:54 PM Go to last post
  11. 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 03:44 PM
    • Replies: 2
    • Views: 295
    08-18-2015, 05:55 AM Go to last post
  12. 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 03:39 AM
    gllamm, latent class analysis, lclogit, stata
    • Replies: 0
    • Views: 115
    08-18-2015, 03:39 AM Go to last post
  13. 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 02:14 PM
    • Replies: 1
    • Views: 210
    08-17-2015, 02:54 AM Go to last post
  14. 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 10:01 AM
    ardl, linear regression, stata
    • Replies: 0
    • Views: 155
    08-12-2015, 10:01 AM Go to last post
  15. 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 06:54 PM
    • Replies: 1
    • Views: 222
    08-07-2015, 08:27 PM Go to last post
  16. 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 01:19 PM
    • Replies: 3
    • Views: 217
    08-05-2015, 02:37 PM Go to last post
  17. 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 03:27 PM
    • Replies: 1
    • Views: 212
    08-05-2015, 11:23 AM Go to last post
  18. 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 10:34 AM
    • Replies: 1
    • Views: 222
    08-01-2015, 11:26 AM Go to last post
  19. 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 02:02 AM
    • Replies: 0
    • Views: 218
    07-28-2015, 02:02 AM Go to last post
  20. 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 03:43 PM
    categorical variable, generate new variable
    • Replies: 0
    • Views: 208
    07-23-2015, 03:43 PM Go to last post
  21. 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 10:14 AM
    • Replies: 1
    • Views: 397
    07-17-2015, 03:51 AM Go to last post
  22. 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 01:15 PM
    error, irf, svar, var
    • Replies: 0
    • Views: 239
    07-16-2015, 01:15 PM Go to last post
  23. 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 01:38 PM
    • Replies: 3
    • Views: 302
    07-15-2015, 03:27 PM Go to last post
  24. 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 10:35 AM
    latent class analysis, runmplus
    • Replies: 1
    • Views: 214
    07-15-2015, 02:41 PM Go to last post
  25. 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 04:00 AM
    ado, dominance, error, loading, plugin
    • Replies: 4
    • Views: 1,329
    07-06-2015, 03:24 AM Go to last post
  26. 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 11:11 AM
    stata user
    • Replies: 1
    • Views: 314
    07-02-2015, 12:00 PM Go to last post
  27. 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 11:54 AM
    • Replies: 3
    • Views: 454
    06-25-2015, 02:36 AM Go to last post
  28. Problems with generating graphs for sqreg and semipar regression

    Hi all, I am new to stata and statistics in general and wish to ask how do we generate for sqreg and smipar regression? I already got the output...

    Started by ru40342‎, 06-24-2015 12:26 PM
    • Replies: 0
    • Views: 170
    06-24-2015, 12:26 PM Go to last post
  29. Factor or Principal Component analysis for survey

    Hi all, I am trying to conduct a Factor Analysis (or potentially Principal Component Analysis) using a data-set created off a scoreboard. The...

    Started by pascualcm‎, 06-24-2015 11:27 AM
    • Replies: 0
    • Views: 142
    06-24-2015, 11:27 AM Go to last post
  30. Adding the mean value to a bow plot

    Hi all, I am trying to deal with the following problem: my variable is income and I want to display the box plot by region excluding the outliers....

    Started by Rerun‎, 06-22-2015 12:39 PM
    • Replies: 0
    • Views: 193
    06-22-2015, 12:39 PM Go to last post
  31. graphing state distributins fram a panel data set - how to?

    Dear statistic community I hope someone can help me; I'm sure ist not at all difficult, but I'm stuck. I have a Panel data set representing...

    Started by siskin‎, 06-20-2015 07:30 AM
    • Replies: 2
    • Views: 237
    06-22-2015, 09:54 AM Go to last post
  32. New to Stata , how to represent missing data

    I'm new to stata and learning to get around through the pdf and ucla help link. However there are still small trivial things I haven't been able to...

    Started by ppundhir‎, 06-15-2015 01:52 AM
    • Replies: 3
    • Views: 329
    06-22-2015, 08:37 AM Go to last post
  33. Question Cubic Splines

    Dear All I am having a bit of a problem in computing for the xblc command after a random effect dose-response meta-analysis (for graphing the...

    Started by milad‎, 06-22-2015 07:45 AM
    • Replies: 0
    • Views: 156
    06-22-2015, 07:45 AM Go to last post
  34. Calculating citations index - NBER Database

    Hello, I am working with NBER Patents Database, and I am trying to construct so-called Citation Index (CI) following Hirschey, M., Richardson J.V....

    Started by nopal23‎, 06-21-2015 05:31 AM
    • Replies: 0
    • Views: 196
    06-21-2015, 05:31 AM Go to last post
  35. destring non umber

    Hi, I have question about destring. My data type is str7 and non number is '854239. I want to remove ' before number and destring nonnumber....

    Started by amylee‎, 06-16-2015 08:55 PM
    • Replies: 1
    • Views: 230
    06-19-2015, 08:26 PM Go to last post
  36. Command for First Differences

    Hello, I have panel data corresponding to 8 years and a number of variables involving a model. What commands do I use to show that Fixed Effects...

    Started by panchodt‎, 06-17-2015 04:56 PM
    first differences, fixed effects, panel data, stata 13
    • Replies: 0
    • Views: 227
    06-17-2015, 04:56 PM Go to last post
  37. Question Gravity model with fixed effects - controlling for the heterogeneity

    Hi Stata users, I'm quite new to Stata and econometric packages in general, so I'd like to get some hints on how to specify a gravity model for...

    Started by Jean Amann‎, 06-15-2015 10:06 AM
    • Replies: 0
    • Views: 278
    06-15-2015, 10:06 AM Go to last post
  38. Merging Data

    Hello I need to merge data from two datasets, but Im having difficulty: In dataset 1 (Households) each observation is data from a household,...

    Started by Joe Ward‎, 06-14-2015 09:06 AM
    • Replies: 1
    • Views: 246
    06-14-2015, 11:27 AM Go to last post
  39. Having Trouble With gllapred

    Hello, I just ran gllamm successfully, and now I just want to know the marginal effects of particular variables the way margins will report them....

    Started by georgina1‎, 06-13-2015 09:05 PM
    • Replies: 0
    • Views: 188
    06-13-2015, 09:05 PM Go to last post
  40. drop repeated school`s by years

    Hi all, sorry for a cross posting.. I have a little big problem: I have a big dataset (n=6.000.000) with a school variable and year variable, i...

    Started by Rodrigo Badilla Cabrera‎, 06-11-2015 11:32 PM
    drop duplicates
    • Replies: 1
    • Views: 341
    06-12-2015, 03:10 AM Go to last post
  41. Frequency with panel data

    Hi, I have a panel data: Id time state frequency 1 1 2 0 1 2 4 1 1 3 2 1 1 4 4 2

    Started by pelias2‎, 06-11-2015 09:01 AM
    • Replies: 0
    • Views: 165
    06-11-2015, 09:01 AM Go to last post
  42. Finding optimal lags in panel data

    Hi, I have a panel data set and want to investigate whether I have unit roots using the Pesaran CADF unit root test (pescadf) however I'm not...

    Started by Statis‎, 02-18-2014 12:45 PM
    • Replies: 2
    • Views: 998
    06-11-2015, 04:34 AM Go to last post
  43. Valug financial statents using STATA?

    Hi. I have tried to search for it, but havent fond anything. Do you guys know about any books etc that shows how one can use Stata to do ...

    Started by TalkTalk84‎, 06-10-2015 03:44 AM
    • Replies: 0
    • Views: 185
    06-10-2015, 03:44 AM Go to last post
  44. General quesiton about editing numbers.

    Hi. I have a general stata question concerning calculating number of cars on a given road. Would the results that I get still be correct if I do...

    Started by TalkTalk84‎, 06-10-2015 03:30 AM
    • Replies: 0
    • Views: 147
    06-10-2015, 03:30 AM Go to last post
  45. [Stata - Selection effects/endogeneity] Treatreg or Heckman?

    Hello TalkStats For my dissertation I am analysing the relationship between the type of school a student attends (public or private) and their...

    Started by feuch24‎, 12-04-2012 11:49 AM
    • Replies: 6
    • Views: 6,314
    06-09-2015, 11:33 PM Go to last post
  46. panel data : how to access coefficients for each observation in panel data with fixed

    Hi I'm a running a fixed effect regression but I don't know how to get the individual coefficient for each country ? Can someone help me plz THANK YOU

    Started by Ihssanee‎, 05-28-2015 07:34 AM
    • Replies: 2
    • Views: 365
    06-05-2015, 02:28 AM Go to last post
  47. regression with time constraint

    Hi guys, I havent studied stata for a year and i have propbably forgotten everything about it. I have a dataset with dates and some variables and i...

    Started by eac13‎, 06-01-2015 04:38 AM
    • Replies: 1
    • Views: 284
    06-05-2015, 02:24 AM Go to last post
  48. Weighted standard deviations for categorical/ordinal variables?

    How can I obtain weighted standard deviations for categorical/ordinal variables? can anyone provide an example command? Thanks.

    Started by dudeman74‎, 05-28-2015 11:05 AM
    • Replies: 0
    • Views: 278
    05-28-2015, 11:05 AM Go to last post
  49. panel data : how to access coefficients for each observation in panel data with fixed

    Hi I' running a fixed effect regression. I want to know how can I get the fixed effect for each country ? thank you

    Started by Ihssanee‎, 05-28-2015 06:11 AM
    • Replies: 0
    • Views: 149
    05-28-2015, 06:11 AM Go to last post
  50. Performing calculations on multiple imputed observations

    Hi, Is it possible to do computation on imputed data sets when running multiple imputation in stata? For example, I have some missing...

    Started by ledzep‎, 05-22-2015 05:05 AM
    • Replies: 2
    • Views: 364
    05-24-2015, 10:08 PM Go to last post
  51. Exclamation Searching for the Stuart-Maxwell interrater agreement index

    Hi, I would like to calculate the index of inter-rater agreement among three constant raters in assigning a score for a given criteria. I have been...

    Started by iwelle‎, 05-24-2015 08:53 AM
    • Replies: 0
    • Views: 238
    05-24-2015, 08:53 AM Go to last post
  52. Guideline to generate a table of Zero Leverage companies

    Dear all, I'm new to Stata and i'm trying to learn it. I'm currently working on a research about zero leverage companies and i need to generate...

    Started by Massimo Gdc‎, 05-23-2015 10:12 AM
    stata
    • Replies: 1
    • Views: 242
    05-24-2015, 06:01 AM Go to last post
  53. Question Syntax and formula for the 99% confidence interval for a proportion

    According to: https://www.mccallum-layton.co.uk/tools/statistic-calculators/confidence-interval-for-proportions-calculator/ The 99% confidence...

    Started by epidem‎, 05-18-2015 03:15 AM
    binomial, cii, confidence interval, syntax
    • Replies: 1
    • Views: 340
    05-18-2015, 06:32 PM Go to last post
  54. Joining two variables

    Hi! i have a variable that explain the means of transports used with the following codes 1=cars 2=cart 3=motorbike 4=on foot 5=others...

    Started by fakhijr‎, 05-18-2015 04:54 AM
    • Replies: 0
    • Views: 220
    05-18-2015, 04:54 AM Go to last post
  55. Exclamation Combinatorics in Stata 12

    Hi, I am trying to generate new variables in a stata dataset which includes all pairwise and triplets combinations of a count of 14 conditions....

    Started by mcdaido‎, 01-20-2012 06:06 AM
    combinatorics, combining variables, pairwise, syntax, triplets
    • Replies: 5
    • Views: 3,899
    05-17-2015, 09:19 AM Go to last post
  56. #Count change of one variable within other variable

    Hi everyone, hope a smart someone can help me with the following: Data: gvkey coname datadate fyear fyr...

    Started by Tessa Wanders‎, 05-15-2015 05:32 AM
    count
    • Replies: 0
    • Views: 209
    05-15-2015, 05:32 AM Go to last post
  57. create new variable

    I have panel data (40 semester and 250 000 people). The variable " disabilty " takes the value 1 or 0. I want to create a new variable "enter" . It...

    Started by DULB‎, 05-08-2015 08:22 AM
    • Replies: 0
    • Views: 318
    05-08-2015, 08:22 AM Go to last post
  58. Order-α based outlier-detection

    Dear all, I am having problems in performing order-α based outlier-detection in Stata 13.0. I would like to perform outlier analysis to...

    Started by Odette de Vaal‎, 04-30-2015 07:06 AM
    • Replies: 1
    • Views: 1,571
    05-03-2015, 07:33 PM Go to last post
  59. correlation between attributes (DCE)

    Hi, I am using -mixlogit- and -gmnl- to model a DCE experiment. In one of the models, I allow two variables ("income in the public sector" - a...

    Started by PedroR‎, 05-03-2015 06:18 PM
    • Replies: 0
    • Views: 195
    05-03-2015, 06:18 PM Go to last post
  60. Offset Variable

    Is there any difference between an offset variable and a covariate?

    Started by chivasrom‎, 05-01-2015 01:42 PM
    • Replies: 0
    • Views: 222
    05-01-2015, 01:42 PM Go to last post

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