reg.: Population-level regression

Description Usage Arguments Value

Description

Regression of one vector on another in a bivariate population.

Usage

1
reg.(y, x, p)

Arguments

x

A numeric vector giving the independent variable of the population.

y

A numeric vector giving the dependent variable of the population.

p

An optional vector of weights. If missing, equal weights are used.

Value

The regression of y and x.


stevencarlislewalker/popmoments documentation built on May 30, 2019, 4:45 p.m.