Learn R Programming

CDatanet (version 2.1.1)

summary.cdnet: Summarize Count Data Model with Social Interactions

Description

Summary and print methods for the class cdnet as returned by the function cdnet.

Usage

# S3 method for cdnet
summary(object, Glist, data, S = 1000L, ...)

# S3 method for summary.cdnet print(x, ...)

# S3 method for cdnet print(x, ...)

# S3 method for cdnets summary(object, ...)

# S3 method for summary.cdnets print(x, ...)

# S3 method for cdnets print(x, ...)

Value

A list of the same objects in object.

Arguments

object

an object of class cdnet, output of the function cdnet.

Glist

adjacency matrix or list sub-adjacency matrix. This is not necessary if the covariance method was computed in cdnet.

data

a dataframe containing the explanatory variables. This is not necessary if the covariance method was computed in cdnet.

S

number of simulation to be used to compute integral in the covariance by important sampling.

...

further arguments passed to or from other methods.

x

an object of class summary.cdnet, output of the function summary.cdnet, class summary.cdnets, list of outputs of the function summary.cdnet (when the model is estimated many times to control for the endogeneity) or class cdnet of the function cdnet.