Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

approx_prod_stats

Approximate summary statistics for a product of phenotypes and a set of predictors


Description

Approximate summary statistics for a product of phenotypes and a set of predictors

Usage

approx_prod_stats(means, covs, n, response, predictors)

Arguments

means

Vector of means of predictors and the two phenotypes to be multiplied

covs

Covariance matrix of all predictors and the two phenotypes

n

Sample size

response

character. Either "binary" or "continuous".

predictors

a list of elements of class predictor

Value

A list with the predicted covariance matrix of all predictors and the product and the means of all predictors and the product.


pcsstools

Tools for Regression Using Pre-Computed Summary Statistics

v0.1.1
GPL (>= 3)
Authors
Jack Wolf [aut, cre, cph] (<https://orcid.org/0000-0002-8919-8740>), R Core Team and contributors worldwide [cph, aut] (Author and copyright holder of modified 'stats' fragments)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.