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

Difference in difference panel data

Hi i am new to stata and I have never done a D-I-D before. I am getting really confused with most of the codes and explanation unclear. Now my data is a panel data with women and outcomes surveyed in...

View Article


Solving for spatial correlation when using weather data in economic analyses...

Hello Statalist, I am working on a household level model that looks at the impact of climatic conditions on welfare and poverty. My outcome variable is household level total and food expenditure, and...

View Article


Effects of input type

Consider this is I am regressing log unemployment level (thousands) with GDP growth rate (so in %), labour market condition (units), CPI (index units). How is my interpretation of data affected?

View Article

Tobit's LM test for right-censored and left-censored data

Hello. I have to finish my task and i'm still confuse about command to test normality and heteroskedasticity in tobit. if you know the command please reply my question. thank you...

View Article

Duplicate Variables

My dataset contains the multiple copies of the same variable. How can I get rid of duplicates so that there is only one instance of a variable containing the given value?

View Article


Using Stata in Batch Mode (command line) in Mac

I am new to this aspect that I read on the internet on its ability to use limited memory space especially when running simulations with complex eclass programs. I however have no idea how to start it...

View Article

Loop over files to rename vars to standard naming convention

I'm trying to merge a folder of files, using ID vars: ctry yr Problem: in each of the using, the naming convention may be - ctry as ctry country Country Ctry - yr as yr year Year Below code is how far...

View Article

Score Changes Model

Dear Statalist, I have simple Pooled OLS regression and I have run it in stata and I got the following outcome: Code: regress BoardSize TobinQ Source | SS df MS Number of obs = 2,591...

View Article


Declaring survey design for RIA Household and Small Business Access and Usage...

The description of the survey can be found at: https://www.datafirst.uct.ac.za/data...dy-description The random sampling was performed in four steps for households and businesses, and five steps for...

View Article


Creating group ID for observed and non-observed groups (egen group)

I am using Stata 13 and working with two datasets, one of which contains tax information and the other does not. For the dataset without tax information, I will assign tax information to the...

View Article

Interpreting the marginal effects of a probit model

Hi all, I ran a probit model. My dependent variable is an acquisition dummy that takes the value one if the firm make an acquisition and zero otherwise. I ran the model twice. In the first model my...

View Article

foreach error 111

Could someone explain me what is wrong with my code below? Code: . foreach k in agua sane rendm { 2. use censo_setor91_00_10_cep, clear 3. if `k'=="rendm" { 4. collapse (mean) C91`k' [aweight=C91chef],...

View Article

At what value of covariates are estimates calculated in a logistic regression...

Hi Statalisters, This might be a very naive question but I am running a logistic regression model, outcome fit on an independent variable and 7 covariates, 4 of them being continuous and 3 binary....

View Article


Generating an average of variables upon different reference year per ID

Hi, I am trying to average certain variables two years before a reference year (yr_treated), which is different for each ID. For example, I have: ID yr yr_treated var newvar 1 1990 1992 32 1 1991 1992...

View Article

generate number list without double entries

Hi, I would like to create a new variable which contains the numbers 1 to 63 in random order and any number being just existing once. I tried several approaches but none worked for my conditions....

View Article


Time varying covariates and Censored Data

Hi there, I'm designing a study with my peers and we've been discussing the use of time-varying-covariates and the issue of censored data. Our study is as follows: We identify subjects where a certain...

View Article

Do-File Structuring in Panel Data

Hi Stata-Users: I have a very fundamental question I haven't found anything specific for in the FAQ. The question may sound a little bit odd since it sincerely depends on the respective project, but...

View Article


Sub Population in Multiple Regression Analysis

My population consist with two main clusters namely customers of the organization and the employees of the organization. I want analysis impact marketing strategy to organization performance which is...

View Article

Effect for each firm (panel data)

We have a variable named tyear (transaction year), and we are interested in finding out whether there is a significant difference in the variables growth, size, debt, and util pre and post transaction...

View Article

fweight and clustering?

I am considering using fweight to inform the different clinic sizes in an analysis conducted at the clinic level. I am not familiar with using these, and am wondering whether stata treats these...

View Article
Browsing all 65033 articles
Browse latest View live


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