Description Usage Format Source References Examples
yearly observations of 38 magazines from 1940 to 1980
number of observations : 1262
number of time-series : 41
country : United States
package : binomialpanel
JEL codes: L82
Chapter : 08
1 |
A dataframe containing:
the year
the magazine name
the price of the magazine in january
has the price changed between january of the current year and january of the following year ?
number of years since the previous price change
gdp deflator index
cummulative change in inflation since the previous price change
single copy sales of magazines for magazine industry
cumulative change in magazine industry sales since previous price change
is the observation included in the econometric analysis ?
group index numbers used for the conditional logit estimation
Journal of Applied Econometrics Data Archive : http://qed.econ.queensu.ca/jae/
Willis, Jonathan L. (2006) “Magazine Prices Revisited”, Journal of Applied Econometrics, 21(3), 337-344, doi: 10.1002/jae.836 .
Cecchetti, Stephen G. (1986) “The Frequency of Price Adjustment, a Study of Newsstand Prices of Magazines”, Journal of Econometrics, 31, 255-274, doi: 10.1016/0304-4076(86)90061-8 .
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #### Example 8-3
## ------------------------------------------------------------------------
data("MagazinePrices", package = "pder")
logitS <- glm(change ~ length + cuminf + cumsales, data = MagazinePrices,
subset = included == 1, family = binomial(link = 'logit'))
logitD <- glm(change ~ length + cuminf + cumsales + magazine,
data = MagazinePrices,
subset = included == 1, family = binomial(link = 'logit'))
if (requireNamespace("survival")){
library("survival")
logitC <- clogit(change ~ length + cuminf + cumsales + strata(id),
data = MagazinePrices,
subset = included == 1)
if (requireNamespace("texreg")){
library("texreg")
screenreg(list(logit = logitS, "FE logit" = logitD,
"cond. logit" = logitC), omit.coef = "magazine")
}
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.