1. 10-14-2010
    Views:
    20,846
+ 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 1805

Forum: Stata

Stata usage and programming, Stata help

  1. 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‎, Yesterday 11:05 AM
    • Replies: 0
    • Views: 88
    Yesterday, 11:05 AM Go to last post
  2. 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‎, Yesterday 07:34 AM
    • Replies: 0
    • Views: 46
    Yesterday, 07:34 AM Go to last post
  3. 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‎, Yesterday 06:11 AM
    • Replies: 0
    • Views: 29
    Yesterday, 06:11 AM Go to last post
  4. 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: 212
    05-24-2015, 10:08 PM Go to last post
  5. 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: 91
    05-24-2015, 08:53 AM Go to last post
  6. 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: 141
    05-24-2015, 06:01 AM Go to last post
  7. 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: 200
    05-18-2015, 06:32 PM Go to last post
  8. 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: 121
    05-18-2015, 04:54 AM Go to last post
  9. 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,508
    05-17-2015, 09:19 AM Go to last post
  10. #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: 125
    05-15-2015, 05:32 AM Go to last post
  11. 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: 218
    05-08-2015, 08:22 AM Go to last post
  12. 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: 605
    05-03-2015, 07:33 PM Go to last post
  13. 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: 123
    05-03-2015, 06:18 PM Go to last post
  14. 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: 131
    05-01-2015, 01:42 PM Go to last post
  15. drop by id

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

    Started by pelias2‎, 04-29-2015 07:39 AM
    • Replies: 1
    • Views: 130
    04-30-2015, 02:45 AM Go to last post
  16. sample

    Hello I have a population of 250 000 individuals and 40 quarter ( from 2003 to 2012) I would like to work with a subsample of 10%. The...

    Started by DULB‎, 04-29-2015 08:39 AM
    • Replies: 2
    • Views: 163
    04-30-2015, 02:41 AM Go to last post
  17. Remove the time of a date variable

    I have a date variable that looks like this: 01apr2014 17:06:55 The storage type for this variable is double and display format %tc I just...

    Started by Marvin85‎, 04-27-2015 11:04 AM
    date variable, td format
    • Replies: 2
    • Views: 197
    04-29-2015, 10:41 PM Go to last post
  18. Revealed preferences (market share) in a DCE

    Hi, I'm running an unlabelled DCE study, which I modelled using gmnl , following (http://www.stata-journal.com/article...article=st0301)....

    Started by PedroR‎, 04-25-2015 03:43 PM
    • Replies: 0
    • Views: 166
    04-25-2015, 03:43 PM Go to last post
  19. SQ-ados: sequence analysis

    I am usig the SQ-ados program with STATA to analyse sequence data. I have - a sample of 250 603 persons - 40 semesters. - 8 elements (labour...

    Started by DULB‎, 04-22-2015 10:26 AM
    • Replies: 1
    • Views: 235
    04-23-2015, 02:39 AM Go to last post
  20. Generate string from filename

    Hi I'm stuck. I have some files named like this: file_ALP2014_ALP2015 and i need to play with variables in the same database that their names...

    Started by jfca283‎, 04-16-2015 09:05 AM
    • Replies: 2
    • Views: 288
    04-16-2015, 10:07 AM Go to last post
  21. Programming a loop

    Hi, I have this do-file: I would like to programme a loop to apply this do-file to others databases: The name of the others databases...

    Started by pelias2‎, 04-10-2015 08:52 AM
    • Replies: 2
    • Views: 354
    04-13-2015, 10:17 AM Go to last post
  22. Lightbulb Data management

    Hi, I have dta files and It looks like that: ID Disease 1 A 2 A 2 C 2 F 3 B 4 A

    Started by pelias2‎, 04-10-2015 05:28 AM
    • Replies: 4
    • Views: 270
    04-10-2015, 08:38 AM Go to last post
  23. Graph margins - eydx(x1) over (r.X2)

    Hi guys, Ran with a problem when doing my analysis: I am fitting the following logit model: Y= X1##X2##X3 + Xn X1 is a dummy (Year) X2 is...

    Started by PedroR‎, 04-06-2015 05:33 PM
    • Replies: 0
    • Views: 210
    04-06-2015, 05:33 PM Go to last post
  24. Loop files through subdirectories

    Hi i need to enter a directory and his subdirectories to run a instruction. I know how to loop the files that are contained in a folder. For that i...

    Started by jfca283‎, 04-02-2015 06:23 AM
    • Replies: 2
    • Views: 290
    04-02-2015, 08:26 AM Go to last post
  25. Do file stops - freezes

    Hello guys, I am running a stata do file that was working perfectly in the past and now it freezes and does not work properly. It freezes in the...

    Started by Marvin85‎, 03-31-2015 09:51 AM
    do file, freeze
    • Replies: 4
    • Views: 263
    03-31-2015, 07:03 PM Go to last post
  26. generate a variable based on another variable

    Hey guys, one question. I have a variable with company names that repeat themselves for 250 times cause that is the number of days i study. so i have...

    Started by eac13‎, 03-23-2015 02:35 PM
    • Replies: 3
    • Views: 321
    03-31-2015, 07:02 PM Go to last post
  27. Leontief Inverse using stata - mata

    Dear all, We can't manage to generate a Leontief Inverse matrix, below an example. Given for example the following matrix converted from...

    Started by giacomodifo‎, 03-30-2015 04:44 AM
    • Replies: 0
    • Views: 188
    03-30-2015, 04:44 AM Go to last post
  28. Hierarchical Cluster Analyis: Working with Groups

    Hello everybody! I am not sure if you provide me an answer to my questions, but I am pretty desperate and would be glad of any help I can get! I...

    Started by KathiStata‎, 03-27-2015 09:13 AM
    cluster, groups, hierarchical method
    • Replies: 1
    • Views: 222
    03-27-2015, 09:45 AM Go to last post
  29. 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: 19
    • Views: 9,303
    03-26-2015, 04:02 PM Go to last post
  30. interactions not allowed

    i am using a fixed effects model with log of wage as the dependent variable when i try xi: xtreg logwage i.d08##c.yrschool exp2 married, i(id)...

    Started by Alexander8‎, 03-25-2015 08:56 PM
    interaction, panel fixed effects, stata, stata 12
    • Replies: 1
    • Views: 229
    03-25-2015, 11:15 PM Go to last post
  31. Three way anova for repeated measure

    Sorry for the double post as I already posted this on the biostat section but it is indeed more appropriate to be posted here! Hi all, I am...

    Started by Ralph84‎, 03-25-2015 04:46 AM
    • Replies: 0
    • Views: 198
    03-25-2015, 04:46 AM Go to last post
  32. Need help interpreting random-effects output

    Attached is the output I received in Stata for my random-effects model. I have three time-invariant variables (WS, WRLURI, UA) and three time-varying...

    Started by kriscrosssss‎, 03-22-2015 06:53 PM
    • Replies: 1
    • Views: 246
    03-22-2015, 06:54 PM Go to last post
  33. "testparm" for the time fixed effect

    I am using the panel data (year and sic). After running Hausman test, the results suggest that the fixed effect model is appropriate. And then I...

    Started by jxy9137‎, 03-19-2015 02:57 PM
    • Replies: 0
    • Views: 268
    03-19-2015, 02:57 PM Go to last post
  34. mixed logit model; coefficient for each attribute

    Hello all, I am new to the forum and looking forward to talking with all of you, and hopefully at some stage I will be able to help someone but...

    Started by Alan McMichael‎, 03-13-2015 05:31 AM
    • Replies: 1
    • Views: 362
    03-13-2015, 10:25 AM Go to last post
  35. Help with GEE

    Hello! For a work project, I need to analyze repeated measures data using GEE, using STATA. I am a bit clueless. I have found some resources and...

    Started by alanend‎, 03-11-2015 02:12 PM
    • Replies: 3
    • Views: 317
    03-12-2015, 12:31 PM Go to last post
  36. Help with hazard function plot

    Hi, I'm looking for help with hazard function plot. Sample of dataset of 1200 obs: ID Age Drugduration Hypertension Event EventDay Censored...

    Started by biscodyl‎, 03-12-2015 11:11 AM
    hazard function, hazard rate, stata, stcox
    • Replies: 0
    • Views: 175
    03-12-2015, 11:11 AM Go to last post
  37. Logit regression with time-series data

    Hi! I want to use logit regression whit lags of the independent variables. Now, I was told I need to use time fixed effects for this (even though I...

    Started by Lars001‎, 03-09-2015 05:26 AM
    • Replies: 0
    • Views: 302
    03-09-2015, 05:26 AM Go to last post
  38. how to save regression results in stata

    I need to save regression results in Stata, Indeed I've already run a multiple sets of regressions without having to retype the command each time...

    Started by AMAELLE‎, 03-07-2015 11:13 AM
    • Replies: 0
    • Views: 287
    03-07-2015, 11:13 AM Go to last post
  39. Counting days

    Dear everyone I would like to count total number of days between two dates in this format "dd/mm/yyyy" , how do I tell stata that it is calendar...

    Started by Aleco‎, 03-07-2015 09:14 AM
    • Replies: 0
    • Views: 215
    03-07-2015, 09:14 AM Go to last post
  40. Formatting into time series data?

    I am trying to format my date parameter so that STATA recognizes it as time series parameter. The format is the most basic of form: 2000, 2001, 2002...

    Started by Tony123‎, 03-03-2015 01:34 PM
    • Replies: 11
    • Views: 463
    03-04-2015, 09:47 AM Go to last post
  41. Heckman Selection for Multinomial Outcomes

    I have found a solution that addresses my questions about heckman adjustment for categorial outcomes.

    Started by Chris86‎, 03-02-2015 10:19 AM
    • Replies: 0
    • Views: 262
    03-02-2015, 10:19 AM Go to last post
  42. Count values of a variable based on another variable

    How can I count the number os Grantees that have used the ipad to collect participants information. In this case, 2 grantees CA0083 and CA0214 used...

    Started by Marvin85‎, 02-19-2015 05:43 PM
    count, count if
    • Replies: 4
    • Views: 462
    02-21-2015, 06:44 AM Go to last post
  43. Random effect model report R2 or chi2

    What is important to report in a random effect model? R2: within, between, overall, or Wald chi2? The thing is that when adding a variable, I find...

    Started by luyinxi‎, 02-20-2015 04:25 AM
    • Replies: 0
    • Views: 188
    02-20-2015, 04:25 AM Go to last post
  44. Using bcal function

    Hi all. I am a total noob for asking this, but even though Ive read all statacorp has to offer on the subject, I can not get the bcal function to...

    Started by statkinglegend‎, 02-19-2015 04:38 AM
    • Replies: 0
    • Views: 207
    02-19-2015, 04:38 AM Go to last post
  45. first -difference command on STATA

    I have a mcor panel for about 40 countries for 24 years .I want to take the first -difference for a variable for each country's time series. Do you...

    Started by abc‎, 12-17-2013 07:44 AM
    • Replies: 7
    • Views: 18,229
    02-16-2015, 08:14 AM Go to last post
  46. generate new var from several string variables

    I have 10 string variables (imp1, imp2, ..., imp10). I want to generate only one variable which summarizes the content of the 10. I used the...

    Started by andik‎, 02-14-2015 11:00 PM
    • Replies: 1
    • Views: 340
    02-15-2015, 09:26 PM Go to last post
  47. Create a variable based on a hierarchy

    Hello friends, I have a dataset where each services offer by providers is in one row. However my goal is that each provider represents one row. ...

    Started by Marvin85‎, 02-13-2015 01:42 PM
    reshape
    • Replies: 0
    • Views: 285
    02-13-2015, 01:42 PM Go to last post
  48. Reshape, collapse, restructure

    Hello guys, These are my variables: GranteeID Funding= Funding type there are 4 funding types (a,b,c,d) ProviderID=provider of the services...

    Started by Marvin85‎, 02-12-2015 09:59 AM
    collpase, reshape
    • Replies: 1
    • Views: 273
    02-13-2015, 09:13 AM Go to last post
  49. egen count only but unique values

    Hello, Below is how my dataset looks like: GranteeID ProviderID 11 11 12 11 26 27 78 27 78 27

    Started by Marvin85‎, 02-12-2015 04:01 PM
    count unique values, egen count, unique
    • Replies: 0
    • Views: 290
    02-12-2015, 04:01 PM Go to last post
  50. Learning Stata - Variables

    Hi, This is my first post on here and learning Stata although been working with it for some time but only as a user and not in a programming...

    Started by IanB‎, 02-11-2015 02:13 PM
    • Replies: 0
    • Views: 277
    02-11-2015, 02:13 PM Go to last post
  51. Create an index with the PCA in Stata 11 from the Demographic and Health Survey

    Dear all, I am a new user. I am writing my Master's thesis and as a part of it I am analyzing the data from the Demographic and Health Surveys...

    Started by lillaus‎, 11-09-2013 11:31 AM
    • Replies: 1
    • Views: 1,753
    02-11-2015, 08:31 AM Go to last post
  52. Show all variable label

    I am just running frequency tables but I need to see the entire variable label. stata only give me a portion of the variable label when it is too...

    Started by Marvin85‎, 02-02-2015 12:39 PM
    var label
    • Replies: 2
    • Views: 388
    02-10-2015, 04:19 PM Go to last post
  53. Use of holdout cases generated in SPSS in STATA

    I am working on consumer preferences for fish, using conjoint analysis. My experimental design was generated in spss using orthogonal design, but my...

    Started by Edith Gondwe‎, 02-10-2015 07:22 AM
    conjoint analysis, holdout cases, spss, stata
    • Replies: 0
    • Views: 259
    02-10-2015, 07:22 AM Go to last post
  54. Fama Macbeth regression help

    Dear reader, We are stuck with performing a Fama Macbeth regression in STATA. The following sums up our steps, and where we got stuck. Please see...

    Started by Dan-14‎, 02-09-2015 06:08 AM
    • Replies: 0
    • Views: 305
    02-09-2015, 06:08 AM Go to last post
  55. Question a few questions for th weekend

    hello, Whenever im trying to use acprplot or towway commands I receive this message, can someone help me with it: (note: scheme s2color not...

    Started by gidlin1‎, 02-06-2015 11:51 AM
    • Replies: 0
    • Views: 270
    02-06-2015, 11:51 AM Go to last post
  56. Having problem with (if and else if) STATA syntax

    Dear Members, I am having problem with using (if and else if ) STATA command using the following logic. If variable b>c and b ~=a and a=c,...

    Started by SSue‎, 02-03-2015 12:49 PM
    • Replies: 0
    • Views: 345
    02-03-2015, 12:49 PM Go to last post
  57. How to extend limit of local/tokenize?

    Dear all, I have a problem in the implementation of the user written Tetrad Method. There must be some problem with the limit of local or...

    Started by KarinKlee‎, 02-02-2015 04:44 AM
    • Replies: 0
    • Views: 264
    02-02-2015, 04:44 AM Go to last post
  58. Constrained coefficients in a VAR model

    I have been trying to find out how to constrain coefficients in a VAR model. In a particular model, I need the coefficients of the lags to sum to...

    Started by darth.gnosus‎, 02-01-2015 07:50 PM
    constrained var
    • Replies: 0
    • Views: 206
    02-01-2015, 07:50 PM Go to last post
  59. Latent Class Analysis with Stata

    Hi I have succesfully installed the stata LCA plugin. But I am not able to do the analysis in my dataset. can anyone assist me how make proper data...

    Started by duttamili‎, 01-30-2015 12:49 PM
    • Replies: 0
    • Views: 86
    01-30-2015, 12:49 PM Go to last post
  60. any number at the end of string extraction

    Hi guys, I need to extract the number at the end of a string variable. The problem is that there are also number at the beginning of the string. ...

    Started by Marvin85‎, 01-29-2015 09:52 AM
    string
    • Replies: 0
    • Views: 263
    01-29-2015, 09:52 AM 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