cespeer.data {QuantilePeer} | R Documentation |
Compute the CES Social Norm
Description
cespeer.data
computes the CES social norm, along with the first and second derivatives of the CES social norm with respect to the substitution parameter \rho
.
Usage
cespeer.data(y, Glist, rho)
Arguments
y |
A vector of outcomes used to compute the social norm. |
Glist |
The adjacency matrix. For networks consisting of multiple subnets (e.g., schools), |
rho |
The CES substitution parameter. |
Value
A four-column matrix with the following columns:
y |
The outcome; |
ces(y , rho) |
The CES social norm; |
d[ces(y , rho)] |
The first derivative of the social norm; |
dd[ces(y , rho)] |
The second derivative of the social norm. |
[Package QuantilePeer version 0.0.1 Index]