fun_getLmStats: fun_getLmStats

Description Usage Arguments Value

Description

fun_getLmStats

Usage

1
2
3
4
fun_getLmStats(df, period = "months", sign = TRUE, name = NULL,
  tablePeriods = c(1, 3, 6, 9, 12), savePlot = FALSE,
  outputFig = c("C:/Users/Soren Schwartz/Dropbox/Egne dokumenter/Skole/master/opgave/Figures/"),
  width = 8, height = 6)

Arguments

df

Dataframe with daily prices, mean, sd, reVol and lagged reVol one want to use as regressors

period

Period one want to have the lagged date

sign

If one want to regress on sign og value of lagged values

name

Name of object

tablePeriods

Periods one want to have in output table. This is also the range of the lagged plot

savePlot

If one want to save plot

outputFig

Output path if one have said TRUE to saveplot

width

Width of plot saved

height

heigh of plot saved

Value

A list

name table

description Table of statistics for coefficients for regressors

name tvalues

description Table only with t-values

name plotAlpha

description plot of alpha's (intercepts) t-statistics

name xtable

description table but on the form which can be put directly into Latex


3schwartz/SpecialeScrAndFun documentation built on May 4, 2019, 6:29 a.m.