Stata synth_runner error message

Em Andamento Postado há 4 anos Pago na entrega
Em Andamento Pago na entrega

Hi,

I encountered this error message when I use Stata and run the synth_runner command. Could anyone please help? I could not figure out what caused the error. I do not have missing values for the dependent variable, but it reports missing. The panelvar is each county, and the treatment is at state level. When I run synth using this data, it has no problem. I also attached the dataset that I used.

Your help would be greatly appreciated.

Michael

. qui set matsize 2000

. qui use test2, clear

. qui gen D = 0

. qui replace D = 1 if (state_id == "CO" ) & (year >= 2013)

. qui replace D = 1 if (state_id == "AR" ) & (year >= 2015)

. qui replace D = 1 if (state_id == "AZ" ) & (year >= 2015)

. tsset fips year

panel variable: fips (strongly balanced)

time variable: year, 2008 to 2017

delta: 1 unit

. synth_runner y x1 x2 x3 x4 , d(D) trends

Estimating the treatment effects

Error estimating treatment effect for unit 8001

Re-running last -synth- command with output/errors un-captured

------------------------------------------------------------------------------------------------------------------

Synthetic Control Method for Comparative Case Studies

------------------------------------------------------------------------------------------------------------------

First Step: Data Setup

------------------------------------------------------------------------------------------------------------------

control units: for 3 of out 200 units outcome variable y is missing in 2008 pre-intervention MSPE period - check m

> speperiod()

invalid syntax

r(198);

end of do-file

r(198);

.

Análise estatística Pesquisa

ID do Projeto: #20816311

Sobre o projeto

1 proposta Projeto remoto Ativo em há 4 anos

1 freelancer está oferecendo em média $50 para esse trabalho

Nicolas0125Kim

Hello Nice to meet you I read your job description carefully and I am confident to finish your job without fail. With full experience of R and Matlab at my former university, I can any kind of statistical analysis and Mais

$50 USD in 2 dias
(1 Comentário)
2.0