Quantcast
Channel: Statalist
Browsing all 65029 articles
Browse latest View live
↧

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 Article


reaction 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 Article


Creating 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 Article

Image may be NSFW.
Clik here to view.

Problem 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 Article

Compute 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 Article


Use _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 Article

Preferred 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 Article

Comparing 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 Article


Check 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 Article


missing 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 Article

Check 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 Article

Identifying 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 Article

Quick 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 Article


List 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 Article

Creating 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 Article


Recursive 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 Article

Initial 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 Article


connecting 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 Article

etregress 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 Article

How 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
Browsing all 65029 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>