This data set is a synthetic data set generated from a random utility model with linear preferences for attributes of a product.
该数据集是一个综合数据集生成的一个随机效用模型与线性喜好的产品属性。
用法----------Usage----------
data(mktshare)
格式----------Format----------
A data frame with 100 observations on the following 10 variables.
以下10个变量有100个观测数据框。
product a numeric vector whose values indicate the product number within market
product一个数值向量,其值表示符合市场的产品数量
market a numeric vector whose values indicate the market number (should be a factor)
market一个数值向量,其值表明市场数量(应该是一个因素)
y a numeric vector equal to the log(share/outshare) to be used as the response variable (as suggested by Berry 1994).
y一个数值向量等于log(股/ outshare)被用来作为响应变量(如1994年由Berry建议)。
share a numeric vector equal to the market share that product i has in market m.
share一个数值向量等于产品的市场份额,我在市场并购。
outshare a numeric vector equal to the fraction of the individuals who buy the outside good.
outshare一个数值向量等于谁买外面好个人的分数。
x1 a numeric vector whose values represent attribute one.
x1一个数值向量,其值表示属性1。
x2 a numeric vector whose values represent attribute two.
x2一个数值向量,其值表示属性2。
p a numeric vector whose values represent the product's price.
p一个数值向量的值表示该产品的价格。
z1 a numeric vector that is a potential instrument
z1一个数字的向量,是一个潜在的仪器
z2 a numeric vector that is another potential instrument
z2的数字向量,是另一个潜在的仪器
Details
详细信息----------Details----------
This is a simulated data set that I use to show how to estimate IV regression.
这是一个模拟的数据集,我使用的,如何估计IV回归。