Save tempfile Error Message
Hello guys, I am trying to merge two datasets. I am imputing these datasets from two difference location (directories/folders). I have two do files, one for each data set. The purpose of the do files...
View Articlereaction time distributions
I have some latency data that should follow Recinormal or Fieller's Normal Ratio distributions. I didn't find any packages the estimated parameters or did goodness of fit tests for these distributions....
View ArticleCreating New Variable in Panel Data that takes the value of certain...
Im working with a set of panel data which includes data on children, their parents, education, etc, as well as parents income over years, parents education over years, etc... I just recently noticed...
View ArticleProblem with time dummies
Hello everyone! I would kindly like to ask for some help concerning time dummies (thank you very much). So here is my problem. I have a panel data of 100 cities belonging to a region of France over a...
View ArticleCompute totals by category stata
Hello everybody, I am working right now on a big parlamentary database for my PhD (well actually a chapter of my phd), of the following form 1 - name candidate - money received - company financing -...
View ArticleUse _coef_table to report regression results in a table
Well, this is a built-in command of STATA. I want to report the regression results in a table just like -reg do. But when I use _coef_table, the title of the t-statistic is "z". I would like to change...
View ArticlePreferred syntax for incorporating optional weights into a program
I've written a simple program which creates a graph after collapsing some data. I want to add the option of including an analytic weight to the collapse, but I want the use of a weight to be optional....
View ArticleComparing two subgroups in a conditional logit model (test for significant...
Hi We have conducted a preference study among patients and physicians (best-worst scaling study). We have estimated a conditional logit model on all data and two models for the two subgroups. Is there...
View ArticleCheck datasets for variables
Hi everyone, I'm working on a project using 23 years of data, each with its own dataset. There have been differences in the data collected over the years, and this is reflected in the variables...
View Articlemissing fileds in correlation matrix
Hi all, I created a correlation matrix for 4 columns and 60 rows data, but I got the matrix with negative values as -1 and some fields have missing values, when I import excel sheet to rapid miner, I...
View ArticleCheck datasets for variables
(Apologies if this is a double post, I just tried to post this but I can't find my topic.) Hi everyone, I'm working on a project using 23 years of data, each with its own dataset. There have been...
View ArticleIdentifying values that differ for a given group
I have a dataset that looks something like this: ID var1 flag_same 1 3 0 1 3 0 1 2 0 1 2 0 1 2 0 2 1 0 2 2 0 3 2 1 3 2 1 I'd like to create a variable that indicates when the values of var1 for a given...
View ArticleQuick questions: list in combine with IF statement and tabmiss
Dear all, I have a very big panel dataset in a long format. I used the list command quiet often to- among other things- sample a portion of my data so I can better understand it and/or because I need...
View ArticleList of variables with missing values
Hello I am new to Stata and I'm currently studying the language. I have been able to do some stuff but I can't seem to do this in a optimized way. For simplification ,let's say I have: x1 x2 x3 x4 8 5...
View ArticleCreating a new variable from several ICD9 diagnoses
An example of my data is shown below. There are 30 columns for diagnosis (diagnoses 1, diagnosis 2, and so on). Each diagnoses number has several disease conditions. I would like to create a binary...
View ArticleRecursive loops in Stata
Hi Statalist, I'm working on creating a program, filetree, that will loop through all files and folders after specifying the path in the syntax, and will print the entire file tree in an excel. What...
View ArticleInitial condition problem in RE probit
Dear all, I am struggling a bit in understanding what is the initial condition problem truly and really is. Also, how can you adjust the RE probit to remedy for the initial condition problem. Please...
View Articleconnecting bars in a stacked bar chart
I have a stacked bar chart summing up 100% in each bar. I would like to know if there is a way to connect the bars, so as to make the variation of percentage points simple to see.
View Articleetregress clarification questions
hi guys! i have a couple of probably simple questions for which I could not find an answer in the help section or someplace else. when using etregress w the two-step option: - how does one interpret...
View ArticleHow to use Merge or Append in this case? Additional Observations issue
Hi everyone, I have two datasets. Both have the same variables: Country, Year, Code, Output. Dataset1 covers the period 1962-2014.But this dataset has values for Output only for period 1962-1964. While...
View Article