Hello all, I am trying to use synthetic control to identify the impact of an artist's sales strategy on the album's digital sales.
My STATA command is as follows;
tsset artistalbumcode release
synth lndigital lncdsales CV1 CV2 CV3, trunit(1) trperiod(14)
trunit = 1 is the treated unit (the artist), and trperiod is when the strategy was implemented (FYI, release variable ranges from 1 to 39.)
When I run the above commands, then I get the following error message during "the First Step: Data Setup."
'R: operator invalid'
Does anyone know about this error message?
My STATA command is as follows;
tsset artistalbumcode release
synth lndigital lncdsales CV1 CV2 CV3, trunit(1) trperiod(14)
trunit = 1 is the treated unit (the artist), and trperiod is when the strategy was implemented (FYI, release variable ranges from 1 to 39.)
When I run the above commands, then I get the following error message during "the First Step: Data Setup."
'R: operator invalid'
Does anyone know about this error message?
Comment