File: regressor_coefficients.Rd

package info (click to toggle)
r-cran-prophet 1.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 736 kB
  • sloc: sh: 13; makefile: 2
file content (36 lines) | stat: -rw-r--r-- 1,323 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities.R
\name{regressor_coefficients}
\alias{regressor_coefficients}
\title{Summarise the coefficients of the extra regressors used in the model.
For additive regressors, the coefficient represents the incremental impact
on \code{y} of a unit increase in the regressor. For multiplicative regressors,
the incremental impact is equal to \code{trend(t)} multiplied by the coefficient.}
\usage{
regressor_coefficients(m)
}
\arguments{
\item{m}{Prophet model object, after fitting.}
}
\value{
Dataframe with one row per regressor.
}
\description{
Coefficients are measured on the original scale of the training data.
}
\details{
Output dataframe columns:
\itemize{
  \item{regressor: Name of the regressor}
  \item{regressor_mode: Whether the regressor has an additive or multiplicative
effect on \code{y}.}
  \item{center: The mean of the regressor if it was standardized. Otherwise 0.}
  \item{coef_lower: Lower bound for the coefficient, estimated from the MCMC samples.
    Only different to \code{coef} if \code{mcmc_samples > 0}.
  }
  \item{coef: Expected value of the coefficient.}
  \item{coef_upper: Upper bound for the coefficient, estimated from MCMC samples.
    Only to different to \code{coef} if \code{mcmc_samples > 0}.
  }
}
}