1. 10-14-2010
+ Post New Thread
Page 1 of 29 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 1720

Forum: Stata

Stata usage and programming, Stata help

  1. Outreg problem with reporting Pseudo-R2 with Quantile regression

    Dear Talk stats users, I need help with reporting the Pseudo-r2 (using outreg2) when doing quantile regressions in stata (Qreg, Stata 12). How...

    Started by Olleolle‎, 04-25-2013 05:34 AM
    • Replies: 7
    • Views: 1,635
    Today, 12:39 AM Go to last post
  2. !missing in two variables

    Hello I ve got panel datas and need to eliminate (!missing) observations. Now the 2 variables have their missings on different observations...

    Started by roger20‎, 11-24-2014 09:33 AM
    • Replies: 1
    • Views: 165
    11-25-2014, 04:00 AM Go to last post
  3. create matrix with rows and columns according to variables length?

    Hi I need to create a loop. The issue is i have 2 variables, X and Y. And both are strings. So, how do i create a matrix with the form J(lengthX,...

    Started by jfca283‎, 11-23-2014 12:18 AM
    • Replies: 3
    • Views: 184
    11-24-2014, 03:26 PM Go to last post
  4. Problem when running the CDSIMEQ in Stata

    Dear All, I am trying to estimate a system of simultaneous equation where one of the endogenous variable is continuous and the other endogenous...

    Started by fayugo‎, 11-21-2014 06:45 AM
    • Replies: 0
    • Views: 113
    11-21-2014, 06:45 AM Go to last post
  5. Stacked bar chart, Pre vs Post

    Hi Guys, Basically I have two variables test_pre and test_post. My variables assessed participants self-assessed knowledge using a 5 point liker...

    Started by Marvin85‎, 11-19-2014 05:14 PM
    bar chart, pre post, stacked chart
    • Replies: 2
    • Views: 162
    11-20-2014, 07:20 AM Go to last post
  6. Calculate Systematic Risk

    Hi guys, i want to investigate the dividendpolice of german firms. I have a panel data set from 1989 - 2013. I use a logit regression to estimate the...

    Started by Rookery‎, 11-19-2014 11:05 AM
    • Replies: 0
    • Views: 107
    11-19-2014, 11:05 AM Go to last post
  7. creating variables

    i want to create variables and i need some help. new variable names are on the left as below. The parent variable is intcov IntCov1 Variable...

    Started by bighush‎, 11-18-2014 09:33 PM
    • Replies: 1
    • Views: 118
    11-19-2014, 08:00 AM Go to last post
  8. Hausman test after xtregar negative chi2

    Dear all, I'm performing a Hausman test on panel data to determine whether to choose Random Effects or Fixed Effects for my analysis with AR(1)....

    Started by camino‎, 11-14-2014 10:14 AM
    • Replies: 1
    • Views: 184
    11-17-2014, 03:54 AM Go to last post
  9. scatter is not a twoway plot type

    Hi,I use stata11 to a a scatter commond"scatter api00 enroll".But I can't get a scatterplot.The stata said"scatter is not a twoway plot type".Who can...

    Started by Ken Tran‎, 11-15-2014 12:13 AM
    • Replies: 1
    • Views: 139
    11-16-2014, 04:48 PM Go to last post
  10. Using bysort to drop missing data by group

    Hi, I am new to longitudinal data and could really use some help! I have a data set where some participants are missing variable x data. How can I...

    Started by alxchang‎, 11-13-2014 09:37 AM
    • Replies: 1
    • Views: 143
    11-14-2014, 05:58 AM Go to last post
  11. Heteroskedasticity & Autocorrelation in a random panel data

    Dear communty, I have the question regarding the choice of an appropriate model for panel data with serial autocorrelation and heteroskedasticity...

    Started by funtik‎, 11-13-2014 08:00 PM
    • Replies: 0
    • Views: 120
    11-13-2014, 08:00 PM Go to last post
  12. Including categorical interactions in mi impute passively

    Version: Stata MP 13.0 I wish to impute something like this... mi register imputed a b c d e f mi impute chained (reg, include((d##e)) a b c...

    Started by Mel42‎, 11-12-2014 07:55 AM
    categorical interaction, mi impute
    • Replies: 0
    • Views: 129
    11-12-2014, 07:55 AM Go to last post
  13. Question Solving a system of non-linear equations for a dataset

    I have to find a solution (av, asigma) for the following system if equation: 0 = av*normal( ln(av/debt)+(r+asigma^2/2)*t)/(asigma*sqrt(t) )...

    Started by Finsternis‎, 11-08-2014 12:03 PM
    • Replies: 0
    • Views: 200
    11-08-2014, 12:03 PM Go to last post
  14. create a new variable with data out if another variable under certain conditions

    hello everybody! i want to create a new variable (t_bip1), which should be filled with data from t_. As you can see in the screenshot, i need all t_...

    Started by Lima‎, 11-08-2014 06:09 AM
    • Replies: 0
    • Views: 175
    11-08-2014, 06:09 AM Go to last post
  15. Relating variables within home group

    Hi, I've got a database with information about several different families related to child labor and I need to create variables for the children...

    Started by Vicheu‎, 11-03-2014 11:06 PM
    • Replies: 3
    • Views: 244
    11-07-2014, 03:30 AM Go to last post
  16. Variance decomposition

    Hi I have this two-way fixed effects model: xi:xtreg dep ivar1 ivar2 ivar3 ivar4 i.year,fe vce(robust) I need the variance decomposition...

    Started by stata3‎, 11-07-2014 12:57 AM
    • Replies: 0
    • Views: 97
    11-07-2014, 12:57 AM Go to last post
  17. Time Series Line Plot with Dummy Variable by period

    Hi guys, I have a question regarding how to graph dummy variables. I have a dataset consisting of different firms and different firm years. I have...

    Started by Rookery‎, 10-31-2014 12:18 PM
    • Replies: 4
    • Views: 285
    11-03-2014, 04:02 AM Go to last post
  18. creating a loss dummy variable

    i have to create a loss dummy variable when another variable eg. net income is negative in the current and previous years.And it should be unique for...

    Started by bighush‎, 11-01-2014 11:17 AM
    • Replies: 1
    • Views: 163
    11-03-2014, 03:40 AM Go to last post
  19. bilateral exchange rate volatility

    I am trying to estimate panel gravity model and need exchange rate volatility between country i and j but i don't know how to do it in Stata !!!...

    Started by SALI‎, 11-02-2014 12:29 PM
    • Replies: 0
    • Views: 110
    11-02-2014, 12:29 PM Go to last post
  20. Import fixed column data help

    Hi all, I am having trouble structuring my data so that I can import it into Stata using "infix". I cannot delimit my data as there are blanks...

    Started by alexalexalex‎, 11-02-2014 09:13 AM
    blanks, data management, import data, stata
    • Replies: 0
    • Views: 123
    11-02-2014, 09:13 AM Go to last post
  21. Line chart Stata

    Hi friends, I need to create a line chart to inform which of our grantees are collecting more surveys. I need a line chart of the total number of...

    Started by Marvin85‎, 10-31-2014 11:54 AM
    line chart
    • Replies: 1
    • Views: 176
    10-31-2014, 03:25 PM Go to last post
  22. Stata help! trying to make any specification for probit

    I am trying to see the relationship between job promotion and several x variables. I recoded Y to promo as 0 and 1 and with x variables I ran...

    Started by boysgd‎, 10-29-2014 02:52 PM
    • Replies: 1
    • Views: 165
    10-30-2014, 07:15 AM Go to last post
  23. "Advanced" use of esttab: delete/insert rules

    I am trying to format some tables that are to be published in the American Economic Review. I usually export tables with esttab in tex code and then...

    Started by luciano‎, 03-22-2012 11:11 AM
    • Replies: 3
    • Views: 2,106
    10-29-2014, 07:00 AM Go to last post
  24. create a time period

    Hello everybody! I have values for prices for each year (price_1998, price_1999 etc), the avarage prices(aprice_1998, aprice_1999..), the marginal...

    Started by Lima‎, 10-28-2014 01:52 PM
    • Replies: 1
    • Views: 190
    10-29-2014, 04:53 AM Go to last post
  25. Comparing sets of variables measured at 2 time points

    I have 3 categorical variables that were measured at a time point = 1 and then later at a time point = 2. I am interested in trying to summarize...

    Started by oncearunner‎, 10-23-2014 12:07 PM
    • Replies: 0
    • Views: 193
    10-23-2014, 12:07 PM Go to last post
  26. If statement braces not producing an output

    Hello and thanks for your help, I am fairly new to Stata and am having issues trying to get the following if statement to run. When I run the "if...

    Started by S.Triggs‎, 10-16-2014 12:04 AM
    • Replies: 5
    • Views: 428
    10-21-2014, 03:47 PM Go to last post
  27. regression with Schwert(1989) method.

    I want to genearting Volatility using Schwert(1989) method. I attach equation picture. and R(t) mean IPS rate. D mean seasonal dummy variable. ...

    Started by wawataiji‎, 10-21-2014 11:38 AM
    • Replies: 0
    • Views: 171
    10-21-2014, 11:38 AM Go to last post
  28. SOS: generate a sub-sample with specific criteria (tricky)

    Hi guys I have a problem and I don't Know how to solve it. I have a sample and I would like to create a sub-sample with some specific...

    Started by zaksotiris‎, 10-21-2014 09:20 AM
    • Replies: 0
    • Views: 153
    10-21-2014, 09:20 AM Go to last post
  29. Dropping duplicates with date-specific properties

    Hey guys. I had a question today that I had no idea how to solve. It basically revolves around removing duplicates from a dataset with close to...

    Started by starpen‎, 09-29-2014 06:34 AM
    drop duplicates, duplicated individuals
    • Replies: 2
    • Views: 302
    10-14-2014, 12:13 AM Go to last post
  30. Calculate age in STATA

    I have DOB in MM/DD/YYYY format. The first problem is that some DOBs have a MM/D/YYYY format if the day is a single digit number. The second problem...

    Started by oncearunner‎, 10-07-2014 10:46 AM
    • Replies: 2
    • Views: 355
    10-13-2014, 09:45 PM Go to last post
  31. HELP! Coefplot: how to display only certain variables?

    Hi everyone, I want to use coefplot just to display the coefficients of two categorical variables holding for all the others after a reg. I...

    Started by Filippotto‎, 09-30-2014 04:15 AM
    coefficient, coefplot, regression, stata, vertical graph
    • Replies: 0
    • Views: 296
    09-30-2014, 04:15 AM Go to last post
  32. I'm nesting 3 loops worngly. Can you helmp me?

    Hi. I hope you can find what i'm doing wrong. I'm creating a matrix which is evaluating every cross for two variables: varc(from 1 to 17) and...

    Started by jfca283‎, 09-29-2014 03:55 PM
    • Replies: 0
    • Views: 238
    09-29-2014, 03:55 PM Go to last post
  33. Label multiple variables Foreach

    I have a series of multiple response variables. var8a var8b var8c; var9a var9b var9c; etc I would like to label my "a" variables *(var8a and var9a)...

    Started by Marvin85‎, 04-25-2014 10:47 AM
    foreach, variable label
    • Replies: 6
    • Views: 943
    09-24-2014, 05:49 PM Go to last post
  34. kappci command in Stata 11.0 -

    I am using the kappci command that I installed from the kaputil to determine the confidence interval between two unique raters. When I use nominal...

    Started by helpwithstats‎, 07-07-2011 02:59 PM
    • Replies: 3
    • Views: 1,373
    09-24-2014, 10:02 AM Go to last post
  35. Merging PISA waves in Stata

    I am running into trouble trying to merge multiple PISA waves into one Stata file for running some hierarchical models. So far, I have combined the...

    Started by aliciacroft‎, 09-22-2014 04:26 PM
    merge, multiple datasets, pisa, stata
    • Replies: 3
    • Views: 265
    09-23-2014, 01:18 PM Go to last post
  36. Replicating values of a variable for additional observations

    Hi all, I have a question and would be grateful if you could answer: I have panel data from 2000 to 2012. One variable however, ‘var_a’ runs only...

    Started by diesel‎, 09-23-2014 10:33 AM
    • Replies: 0
    • Views: 123
    09-23-2014, 10:33 AM Go to last post
  37. variables being dropped from difference gmm

    I'm working with panel data, using the command xtabond2 for Arellano Bond estimator. When I run the command, most of my explanatory variables are...

    Started by jsaldain‎, 09-22-2014 07:33 AM
    • Replies: 1
    • Views: 203
    09-22-2014, 08:34 AM Go to last post
  38. Requesting help with creating a semi-complex variable

    My datafile looks something like this: COUNTRY REGION YEAR GDP Albania ECA 1995 5 Albania ECA...

    Started by solarium‎, 09-21-2014 10:42 PM
    • Replies: 1
    • Views: 193
    09-21-2014, 11:34 PM Go to last post
  39. Business Calendars/ STATA 11

    Hi all; I use STATA 11 and i would like to create my own business calendar. I have daily data starts from 05/01/2004 to 25/07/2014. i would be...

    Started by Nour‎, 09-14-2014 06:17 AM
    • Replies: 1
    • Views: 240
    09-21-2014, 11:29 PM Go to last post
  40. Create tables /// export tab results directly to excel

    I generating a descriptive report for my boss ( that is just frequency tables). I tab everything in stata and the copy as a table and paste it excel....

    Started by Marvin85‎, 09-03-2014 10:46 AM
    • Replies: 7
    • Views: 503
    09-16-2014, 09:16 AM Go to last post
  41. Transformation of multiparty partnerships into dyadic relationships

    Dear Stata gurus, I'd like to ask for your help once more. The problem is as follows: I have data on multiparty partnerships structured in the...

    Started by Slavutich‎, 09-13-2014 07:04 PM
    • Replies: 2
    • Views: 236
    09-15-2014, 04:41 AM Go to last post
  42. statistical tests for a special period of time

    Hi, I need to run statistical tests for a special period of time, not for all period how can i do that? Thanks in advance

    Started by Nour‎, 09-12-2014 06:41 AM
    • Replies: 1
    • Views: 185
    09-14-2014, 08:18 PM Go to last post
  43. Help with matrix and loop

    Hi I'm trying to generate a matrix with the following code matrix A=J(17,8,0) forval i=1/17 { forval j=0/7 { quietly summarize cise if...

    Started by jfca283‎, 09-02-2014 12:50 PM
    • Replies: 3
    • Views: 281
    09-14-2014, 01:09 PM Go to last post
  44. Need help with -keep-/-drop- function in Stata

    Hello everybody, I'd like to ask for your help with -keep-/-drop- function in Stata. The problem is as follows: suppose I have a column, called...

    Started by Slavutich‎, 09-10-2014 04:35 PM
    • Replies: 2
    • Views: 291
    09-12-2014, 07:43 AM Go to last post
  45. Export three way table to excel o csv?

    Hi I hope you can help me. I need to export multiple tables of this kind table varx1 sex education , c(mean ing_t_p) center row col...

    Started by jfca283‎, 09-09-2014 05:31 PM
    • Replies: 1
    • Views: 231
    09-10-2014, 06:01 AM Go to last post
  46. ML est. with oprobit per Huasman et al in Stata 13?

    Hi. I am using Stata IC 10 and having difficulty implementing the ml estimation to determine sensitivity to misclassification in limited dependent...

    Started by JFalcon‎, 09-09-2014 12:19 PM
    misclassification, ologit, oprobit, stata 13, stata10
    • Replies: 1
    • Views: 229
    09-09-2014, 04:24 PM Go to last post
  47. Regression lines parallelism test in STATA

    Hello everybody, Please help me with the following issues. ANCOVA rests on the assumption that the regression lines are parallel, or that...

    Started by kiton‎, 09-08-2014 10:13 PM
    • Replies: 6
    • Views: 265
    09-09-2014, 11:53 AM Go to last post
  48. Comparing proportions in a subgroup to proportions in the overall population

    I am trying to compare the proportion of patients in my subgroup with the outcome of interest to the proportion of patients in the overall population...

    Started by apandya‎, 09-09-2014 12:41 AM
    proportion test, stata, subgroup
    • Replies: 3
    • Views: 185
    09-09-2014, 11:32 AM Go to last post
  49. Correlation between 2 variables across the quantiles of independent variable

    Hi, I need to estimate correlation between 2 variables across quantiles of volatility (volatility is an independent variable).. I want to show how...

    Started by Nour‎, 09-08-2014 12:12 PM
    • Replies: 2
    • Views: 204
    09-09-2014, 09:49 AM Go to last post
  50. Post string values (several male names) to numerical var

    Hi, this is my first question here, i'm learning STATA. I have a string var ("names") and I need to make a list of a group of those names in order...

    Started by cafu‎, 09-06-2014 02:41 PM
    names, numerical variable, string variable
    • Replies: 1
    • Views: 234
    09-08-2014, 09:04 AM Go to last post
  51. Find the lowest ordinal variable score of many variables

    Hello guys, I have an task to do that is a little bit weird and could find a solution. I have a series of liker-scale ordinal variables. Do...

    Started by Marvin85‎, 09-02-2014 05:40 PM
    egen, gen, list, scale
    • Replies: 2
    • Views: 286
    09-03-2014, 10:34 AM Go to last post
  52. Wordfreq command (from Wordscores) replaces variables

    Hello. I'm trying to test Wordscores using the example here. Unfortunately, when creating new variables using the command: wordfreq...

    Started by Edmund‎, 09-02-2014 12:09 PM
    • Replies: 0
    • Views: 160
    09-02-2014, 12:09 PM Go to last post
  53. Stata Unbalanced Panel Data - which ttest should I use to compare means?

    Hi, Apologies if this question is very basic but I have spent hours looking online and in forums such as this one for an answer and I am still...

    Started by statauser2109‎, 09-02-2014 05:06 AM
    averages, panel data, stata, ttest
    • Replies: 0
    • Views: 210
    09-02-2014, 05:06 AM Go to last post
  54. multiple response tables

    I have a multiple response variable: race=participants can select more that one race. race1 race2 race3 so on I need to create a table in...

    Started by Marvin85‎, 08-22-2014 01:08 PM
    multiple response, tab
    • Replies: 3
    • Views: 354
    08-28-2014, 11:51 PM Go to last post
  55. How to keep the IDs only from the master dataset while merging?

    Hi, I have 2 datasets a master and a second one that has some extra variables that I want to use. The IDs in the two datasets are not quite the same,...

    Started by leilafg‎, 08-20-2014 06:27 AM
    • Replies: 5
    • Views: 359
    08-26-2014, 06:21 PM Go to last post
  56. Complex reshape

    Hello guys, I really need help with this on. I have a dataset of healthcare organization with the following variables: ContactID : organization...

    Started by Marvin85‎, 08-23-2014 12:20 PM
    • Replies: 4
    • Views: 372
    08-26-2014, 02:21 PM Go to last post
  57. Create correlation coefficients and p-values as variables

    I need assign a correlation coefficients and its p-values to a variable I can do this for the correlation coefficient using: egen corr_IBSMR =...

    Started by kmatthews‎, 08-22-2014 04:34 PM
    egen corr pwcorr
    • Replies: 2
    • Views: 327
    08-23-2014, 03:59 AM Go to last post
  58. Error while using vif command

    Hi all, I generated a regression model in stata with the mvreg command. (.mvreg dv = iv1 iv2 iv3 etc.) After that I want to assess the data on...

    Started by surveyman‎, 08-22-2014 12:40 PM
    • Replies: 0
    • Views: 220
    08-22-2014, 12:40 PM Go to last post
  59. Merging two datasets, one with repeated IDS!

    Hi, I have a main dataset that I am working on and a second one that is relevant to my main dataset via ID number of the subjects. I am using STATA...

    Started by leilafg‎, 08-18-2014 09:48 AM
    • Replies: 2
    • Views: 209
    08-18-2014, 06:26 PM Go to last post
  60. Matrix for storing results from a tabulate

    Hi I hope i will write well my problem. I need to store the results from this tab variable1 variable2 in the matrix form. But additional to...

    Started by jfca283‎, 08-18-2014 04:43 PM
    • Replies: 0
    • Views: 188
    08-18-2014, 04:43 PM Go to last post

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