cumulative_adopt_count: Cummulative count of adopters

View source: R/stats.R

cumulative_adopt_countR Documentation

Cummulative count of adopters

Description

For each time period, calculates the number of adopters, the proportion of adopters, and the adoption rate.

Usage

cumulative_adopt_count(obj)

Arguments

obj

A n\times T matrix (Cumulative adoption matrix obtained from toa_mat) or a diffnet object.

Details

The rate of adoption–returned in the 3rd row out the resulting matrix–is calculated as

\frac{q_t - q_{t-1}}{q_{t-1}}

where q_i is the number of adopters in time t. Note that it is only calculated fot t>1.

Value

A 3\times T matrix, where its rows contain the number of adoptes, the proportion of adopters and the rate of adoption respectively, for earch period of time.

Author(s)

George G. Vega Yon & Thomas W. Valente

See Also

Other statistics: bass, classify_adopters(), dgr(), ego_variance(), exposure(), hazard_rate(), infection(), moran(), struct_equiv(), threshold(), vertex_covariate_dist()


srdyal/diffusiontest documentation built on Dec. 9, 2024, 1:14 a.m.