*! version 1.0 29aug2024 Matteo Bottai

help magreg

magreg: Maximum agreement regression

Syntax

magreg varlist [if] [in] [weight] [, bsopts options]}

Description

magreg estimates the maximum agreement regression model specified in varlist.

Options

bsopts(string) specifies the options for the bootstrap command ([R] bootstrap)

noconstant suppresses the constant term

level sets the level of the confidence intervals

Examples

sysuse auto

magreg price displacement

predict predicted

twoway scatter price predicted || line price price, sort

magreg price displacement weight if foreign==1, nocons bsopts(rep(10))

Also see

[R] regress, [R] bootstrap

Reference

Bottai M, Kim T, Lieberman B, Luta G, Peña E

On Optimal Correlation-Based Prediction

The American Statistician, 76:4, 313-321, 2022

Author

Matteo Bottai

Division of Biostatistics

Institute of Environmental Medicine, Karolinska Institutet

Stockholm, Sweden