instruction stringlengths 9 38.7k |
|---|
I assume that the number of home corners and away corners would follow the Negative Binomial Distribution and I expect that these two variables have the same parameter p and the sum of these two would also be a Negative Binomial Distribution.
Take the number of corners in football as an example
### code for dataset
eng... |
I am considering this transient solution for the probability mass function over the number of "customers" in an MM1 queue:
$$ p(k; t, i, \lambda, \mu) =\\ \exp \left( - (\lambda + \mu) t \right) \left[ \rho^{\frac{k-i}{2}} I_{k-i}(at) + \rho^{\frac{k-i-1}{2}} I_{k+i+1}(at) + (1 - \rho) \rho \sum_{j=k+i+2}^{\infty} \rho... |
Let's say we have $n$ samples and a single feature variable $X$, and we run OLS to regress $Y$ onto $X$ and get some $\beta$. Now, suppose we duplicate this feature to now get $X_1=X_2$, and we regress $Y$ onto $X_1, X_2$ to get coefficients $\beta_1, \beta_2$- how are our OLS coefficients and standard errors going to ... |
I am working on a project where literature has traditionally treated the exposure as a time-dependent exposure and used a time varying cox ph model.
During the logistic, and normal cox PH analysis where I treat the exposure as fixed I get a protective result. As soon as I test it using a time-varying cox ph model the a... |
Suppose we draw some k ~ Unif(0, 1). Then, we will draw some $u_1$ ~ Unif(0, 1). If $u_1 < k,$ we stop. Else, we will draw $u_2$ ~ Unif(0, $u_1$). We will continue drawing until $u_n < k,$ where if we need to draw it, $u_n$ ~ Unif(0, $u_{n-1}$) What is the expected value for $n$? (i.e. how many draws until we get a val... |
Little's Law gives us
$$\mathbb{E}[L] = \lambda \mathbb{E}[W]$$
where
$L$ is the number of customers in the queue + being served
$\lambda$ is the arrival rate
$\mu$ is the service rate
$W$ is the wait time of a customer from when they arrive to when they finish service.
Kingman's formula states that
$$\mathbb{E}[W] \... |
Vaguely related to the notion of a Lindley equation,
I am considering a recurrence
$$L_{t+1} := L_t + \max \left( 0, A_t - S_t \right)$$
where
$$L_t$$
is the number of customers in a queue system at time $t$ and
$$A_t \sim \text{Poisson}(\lambda_t)$$
is the number of arrivals at time $t$ and
$$S_t \sim \text{Poisson}(... |
I want to estimate a state space model that looks like this:
$y_t = exp(\beta_t)x_t + \varepsilon_t \hspace{1cm} \varepsilon_t \sim \mathcal{N}(0, \sigma^2_{\varepsilon})$
$\beta_t = \rho\beta_{t-1} + \nu_t \hspace{1cm} \nu_t \sim \mathcal{N}(0, \sigma^2_{\nu})$
where $y_t$ and $x_t$ are observed, while $\beta_t$ is ... |
Background
I'm working through the Harvard Stat 110 probability course. One of the first topics discussed is the sample space of an experiment.
I understand that the sample space represents all the possible outcomes of the experiment and that outcomes can be collected into distinct events $A$.
Intuitively, doing this f... |
I am wondering if somebody can help me out with the syntax to run a longitudinal invariance test using effects coding approach in Mplus.
I have figured out that to run a CFA with effects coding, I would label all the factor loadings and then add MODEL CONSTRAINTS. as like the code below.
AE1 by t1ae1 * (L1)
t1ae2 t1a... |
Statistical training from the National Institute of Child Health and Human Development states:
A general (usually unquestioned) assumption is that differences on "nuisance" variables that are correlated with the independent and dependent variables should be statistically controlled to avoid interpreting "spurious" fin... |
I'm running a Cox model in which my main interest is the effect of a continuous independent variable on the hazard of committing crime.
I want to illustrate the effect of this variable. For this purpose, I produced the hazard function based on 5 values of this variable, and got a graph with 5 lines, one for each value,... |
Im new here and also consider me as a total beginner in statistics.
So in my scenario, lets say there's two learning interventions, Intervention A and B. The participants are divided into two groups, one group receiving A (Group 1), another receive B (Group 2). These two groups undergo pre-test and post-test. So let's ... |
I've calculated the expected frequencies by using the normal distribution chart and the frequencies given in this table. However the sum of the expected frequencies is turning out to be 67 while the sum of the given frequencies in 100. I've redone the calculations only to arrive at the same answer. Is there something ... |
An opinion poll should be done on a representative sample of the population, so that its outcomes give a reliable estimate of the real public opinion.
Suppose I have a large database of users, who are not a representative sample of the population, but I have their demographic data. I want to do an opinion poll on these... |
How is to find the value of $k$ for the following equation which gives $100(1-\alpha)\%$ highest posterior density?
$$\int_{\theta:\pi(\theta|\mathbf x)>k}\pi(\theta|\mathbf x)d\theta=1-\alpha,$$
where $\pi(\theta|\mathbf x)$ is the posterior density for $\theta$, and $\alpha$ is the level of significance. Can anyone ... |
I have a question regarding contrasts in lm() in R and their relation to generalized inverses. In this post, the second answer indicates that the generalized inverse of the coding matrix, which specifies how the design matrix should be modified to test contrasts of interest, is taken with an intercept column added afte... |
For example, can I take samples of size ten with replacement from a sample of size 100? I'm trying to teach my high school statistics students about bootstrapping and I want to use m and ms candy, but taking multiple samples of 100 from the original sample would take a very long time so I wanted to see if I can have th... |
Scenario: (really short version of study)
I am testing whether vitamin d supplement helps with depression.
First, I have two groups (all proper randomness applied)
Random assignment has occurred:
Group A (treatment group) , fills out depression questionnaire (Likert scale), takes vitamin d gummies, after 6 months, take... |
I was trying to understand the linkage function from scipy and I was confused with the output for this sample code
from scipy.cluster.hierarchy import linkage
X = [[0, 0], [2, 2], [3, 3]]
Z = linkage(X, 'complete')
This yields a Z as
array([[1. , 2. , 1.41421356, 2. ],
[0. , 3. ... |
This is a much simplified network from a real problem that, to me, has a surprising INability to learn a simple task via backprop, ie, it can't overfit or learn at all. This simple version has come at the cost of many gray hairs, and much simplification, and I truly ignored the option that something this simple would f... |
I am working on a referee report for a field experiment focused on the employment process. The experiment investigates if including a video in job applications can reduce employment disadvantages for individuals with disabilities (specifically, those who use wheelchairs). Each application is randomly assigned to either... |
In Anton Braverman et al 2023 they mention their assumed service discipline:
"Our results assume that the network operates under a static buffer priority (SBP) service discipline and require three additional conditions: stability, state space collapse, and a certain matrix being “tight” (see Definition 3.2).
I don't ... |
I am analyzing pooled cross-sectional data with the instrumental variable being educational policy, the independent variable as high school graduation, and the dependent variable as subjective class consciousness. I am considering whether 'marriage' can be used as a control variable in this context.
Regarding the tempo... |
I have a dataset that is composed of mainly binary variables, each row represents a patient, and each column represents a symptom of a disease. The patient would tick 1 (if they experience the symptoms) and zero otherwise. Each table represents a disease, which looks like:
Table 1. Disease A Only
Symptom 1
Symptom ... |
I am planning to fit a statistical model to a dataset in which there are details about bird-farms from various geographic locations, 7 environmental variables, egg_hatching years, and eggs_hatched. An image of data is given here. This is just an example, and like this, I have data for 20 farms; each farm has data from ... |
As I understand, bayesian linear regression produces a posterior predictive distribution containing both the mean and standard deviation.
I've seen several blog posts showing the predicted mean is almost identical to the that of regular linear regression. Could we not use linear regression to predict the standard devia... |
Can I apply a Poisson distribution if I have different sample sizes for each cluster? My experiment is about diversity in International Baccalaureate vs non-IB classes, and I used single-stage cluster sampling where subgroups of the population were selected, and all individuals within each selected subgroup were includ... |
I have a dataset with 200 firms, each with 7 years of data on several numerical and categorical/factor variables, say, $(x_1,...,x_n)$, and a binary outcome variable $y$ (not fixed over time).
ID | Time | X1 ... Xn | Y
1 1 ......... 0
1 2 ......... 0
1 ...
1 7 ......... 1
These var... |
I need help with calculating the variance of a bootstrap sample mean. I want to answer the following question (question 15.4 in The Elements of Statistical Learning).
Suppose $x_i$, $i=1, \ldots , N$ are iid $(\mu, \sigma^2)$. Let
$\bar{x}^\star_1$ and $\bar{x}^\star_2$ be two bootstrap realizations
of the sample mean... |
I know that Poisson distributions generally count the number of occurrences of something over a period of time. However, in my experiment, I am counting the number of non-white students per class in International Baccalaureate classes and non-IB classes. Would I still be able to use a Poisson distribution where the mea... |
Like the title explains, I'm having a difficulty understanding the differences between:
Mortality Rate
Crude Death Rate
Cause-Specific Death Rate.
Somebody please explain the differences.
|
Let say I have a forecasting system compared with a naive forecast that just use the today's value as forecast. If the naive forecast have a MAPE of 200%, and my system have a MPAE of 100%, could I say my system is useful?
On one hand, my system halved the MAPE, but on the other hand, my system still have a 100% MAPE, ... |
I’m having two different groups complete the same survey (they differ in terms of their profession) consisting of 10, 5-point Likert style questions asking how much they agree or disagree that a given factor influences their decision to take a certain action. I need to ascertain whether the groups differ or agree on ho... |
I have a time series prediction! here is a graph of that. This shows the consumption of gas for a city! So, I want to define some metrics for it. However, I dont want to use the smape or mae or other metrics! Three period is important here. We have an event during the time step 11 until step 18. The period before this ... |
Let’s consider linear regression model, estimated using OLS.
According to information from Hayashi (Econometrics, Chapter 2)
it must be the case of no serial correlation in errors to perform White’s test for conditional heteroskedasticity;
it must be the case of conditional homoskedasticity to perform both Ljung-Box Q... |
I get the above warning when running a 2SLS regression in Stata with robust standard errors. Specifically, I get this for the first stage, where in addition the first stage has no F-statistic, p-value, standard errors, t-values or confidence interval.
To give more context, my instrument is random assignment of treatmen... |
Say I have a function $q_{D, \Theta}: \mathcal{X} \to \mathcal{Y}$ that depends on independent random variables $D$ and $\Theta$.
I want to consider "centroids" of $q$ with respect to another function $\ell : \mathcal{Y} \times \mathcal{Y} \to \mathbb{R}_{+}$ with $\ell(a,b)=0$ if and only if $a=b$.
$$
q^\star_{\Theta}... |
I have used the data "Chickweight" in R to make a dummy example model
data("ChickWeight")
ChickWeight$large = as.numeric(ChickWeight$weight>100)
mod = glm(large~Diet+Time, data=ChickWeight, family = binomial)
plot(mod)
summary(mod)
library(ggeffects)
plot(ggpredict(mod, "Time [all]"))
The summary of the model is:
Ca... |
I am running models in R using an OLS as well as using a GLM with a Poisson distribution and log link function.
df <- data.frame(x1=runif(100), x2=runif(100))
df$ols_y <- rnorm(100)
df$glm_y <- rpois(100, lambda=5)
ols_mod <- lm(ols_y ~ x1 + x2, data=df)
glm_mod <- glm(glm_y ~ x1 + x2, data=df, family=poisson)
Now... |
The field study investigates the relationship between root traits and plant performance traits in 12 genotypes, using a randomized complete block design with four replications per location.
Root traits, such as root depth and weight, were measured early in the growing season at a fixed time (BBCH 30), referred to as VA... |
I can't give the exact data because it's sensitive, but I have the following information about the data:
3 continuous variables which are within subjects (scores for test separated by time).
1 categorical variable with 4 levels which are between subjects (condition).
1 continuous dependent variable (average test sco... |
The 1993 Rousseeuw-Croux scale estimators were introduced as alternatives to the Median Absolute Deviation (MedianAD), by saying that:
(1) Of course, there is nothing to stop us from using the MedianAD at highly skewed distributions, but it may be rather inefficient and artificial to do so.
Indeed:
"the MedianAD cor... |
Suppose $\{X_t\}$ is stationary process. We observe a sample of $N$ observations from the process, i.e., $x_1, x_2, ..., x_N$. The stationarity property implies that the distribution doesn't change over time. Does this imply also the following?
We divide the sample consisting of $N$ observations into $k$ subsamples wi... |
I am an engineering student and grappling with some statistical concepts for my research study. I would like to get some suggestions on how to tackle this problem properly.
Problem description (see https://doi.org/10.1115/1.2204969 for more details): Let the reliability $R = \Pr( g(X) > 0 \mid d_k)$ where $\Pr( )$ is t... |
I have two sets of data points and want to know the correlation.
I.e., my Hypothesis is "The two set of data points are correlated".
The data points are (if at all) non-linear correlated.
This is why I chose distance correlation as my metric.
However, I also want to know whether or not my results are significant, i.e.,... |
I constructed a moderated mediation model (PROCESS Model 8). Bootstrap results for regression model parameters showed that the BootCI for the interaction term included zero, but in the model summary, the p-value for the interaction term was smaller than 0.05, and 95% of CI did not include zero . See below for the scree... |
I would like to statistically test if difference in difference estimate is significant, but I do not know what test to use. I am trying to answer a question if war is affecting wellbeing. I have survey data in 3 countries before and after the war. They are as follow:
Country currently at war:
a. Before war: 1000 (n11)... |
If the results of a t test are reversed are the p values the same?
I am running an experiment:
Treatment: sample size - 5k and metric value - 0.57 Control: sample size - 5k and metric value - 0.62
The lift from the control to the treatment is -0.05 with a p value of 0.013. So it’s significant.
What if I flipped the tre... |
To verify whether a given model can accurately estimate the target estimand of interest, one might generate data to simulate the assumed data generating process, define a treatment effect, and estimate the target treatment effect and evaluate how well a given model recovers the estimand.
I am new to simulation, and I n... |
The Expected Squared Jump Distance (ESJD) seems to be defined slightly differently in various papers, which makes this very confusing. For instance, Definition 2.2 of Optimal Scaling of Random-Walk Metropolis Algorithms on General Target Distributions which in their paper is specific to the Random Walk algorithm, is
$$... |
I think I finally understand the point of the 'moving average' part of ARMA/ARIMA, but I wanted to confirm here, just in case I am still off.
Idea 1: Autoregressive processes are easy to motivate - future prices could reasonably be better predicted with current prices and perhaps the prices before today could paint an ... |
I have started learning Principal Component Analysis using R and applied it on UsArrests dataset. I have read in an article that eigenvectors in R point in the negative direction by default, so we’ll have to multiply PCA values such as $pca\$rotation $ and $pca\$x$ by -1 to reverse the signs. I am observing that, aft... |
Background
This is related to the following question: Is an experiment's Sample Space always useful?
I have been reading about Sample Spaces, and I understand they represent all possible outcomes of an experiment, and that a random variable is like a function over the sample space.
In the answer to my previous question... |
My data is like this: I have N students from different courses (variable course_id) that where asked about household income (variable income) and had to take part in two math tests; one test was considered "income fair" and the other was not (variable test_type). The results of the math test are in the variable test_re... |
I understand the basics of how decision trees / random forests are built, but one thing I still don't have a good answer for is how the putative split values are identified. So suppose we have mtry = 5, and at a given split we randomly select 5 variables to try. Does the algorithm try every possible split for each of t... |
I aim to predict distance cycled based on population density, recreational area density, infrastructure density, road intersection density, and average gradient (hilliness). The response variable, distance cycled (km cycled per year), is continuous and strongly skewed to the right (see histogram below). Therefore, I wa... |
Let $\hat{\theta}$ be a biased estimator whose bias depends on the true value $\theta_0$, such that $E[\hat\theta|\theta_0]= f(\theta_0)\neq \theta_0$. Let $t_{sample}$ be a sample realization of $\hat{\theta}$.
Is there a name in statistics for the "expected true point" of a sample realization $t_{sample}$, that is th... |
How report standard error of measurement (SEM)? Always with "±" due is a range?
|
I am reviewing an article that is not yet published, so I cannot be too specific.
Briefly, the authors did an unmatched case-control study. The cases were patients admitted to the ICU for a specific reason, the controls were all other patients admitted to the same ICU over the same period. The authors then say that c... |
If $corr(A,B)=1$, and $cov(A,C) \neq 0$, do we have $cov(B,C)\neq 0$ as well?
I understand $cov(A,B) \neq 0$ and $cov(A,C) \neq 0$ don't imply $cov(B,C) \neq 0$. And I am looking for a counter-example of the case where $A,B$ are perfectly correlated. A non-trivial example that doesn't involve a degenerate random variab... |
I understand that "Spiked" often refers to the presence of a dominant component (or a few dominant components) in a tensor decomposition. Spiked tensor decomposition is applied to multi-way tensor data, to extract the principal components along each mode/dimension. One of the modes typically represents multiple subject... |
I've analyzed the view counts for a YouTube channel's videos (just for example), sorting them by views (on the left) and drawing a tangent line to approximate the central trend on a logarithmic scale (on the right).
Each bar represents a video.
This line seems to demarcate videos with typical view counts from those wit... |
I have a large longitudinal dataset (100,000 observations) with firm IDs and Years with about 1000 features (most numeric and some factor). I have been running some classification tasks (random forest, xgboost, svm) on this data using a small subset of the available features. I want to be able to use the models to do s... |
I collected disease severity data, expressed as proportions between 0 and 1 on plants in field trials conducted across different year. Additionally, I gathered weather data, representing average values over the duration of the field trials in each year.
For relative humidity (and temperature, rainfall, wind speed), I ... |
Assume that you have a matrix $X$ that contains the data inside the left image. The data inside $X$ is not classified. The matrix $X$ also contains outliers/noise.
On the right, we can se the template data matrix $Y$, that shows almost the same size as the data inside $X$, without the outliers/noise, except that the da... |
I want to perform a variance component analysis on avian demographic estimates (annual adult survival, per capita recruitment, and population growth rate) in R. I have used the program RMark to attain these estimates, their SE's, and their ucl/lcls, and now want to perform the VCA. I have tried var.components within RM... |
I have a stream of real valued measurements $x_1, x_2, \dotsc$ that I expect to be, for the most part, normal distributed with some unknown mean $\mu > 0$ and unknown variance $\sigma^2$. However, once in a while I have an outlier that is so much larger than $\mu$ that it is unlikely to come from the same distribution,... |
I'm an analyst at an agency that operates landfills. There was a recent discovery that certain trash haulers colluded with 2 or 3 weigh-masters to undercharge in return for kickbacks. I'm tasked with developing a metric that measures the likeliness of collusion based on the frequency that each hauler is weighed by ea... |
im trying to find the matrix and the graph of this markov chain, let $(Y_i)$ a sequence of iid RV in $\mathbb{Z}$ and identically distributed, let $Y_0$ be independent of $(Y_i)$ -idk why they said this could someone explain its effect- now define $X_0 = Y_0$ and $X_n = \sum_{i=0}^n Y_i$ i proved that $(X_n)$ is a mark... |
I conducted a randomized controlled experiment with groups $A$, $B$, $C$, and $D$, each containing around $40$ human participants who saw one of four variants of a website. Group $A$ saw a baseline, and the other groups saw that baseline with a single additional component: $B$ saw an extra slider to pick values, and $C... |
I'm writing a book on the rarity of antique bottles from a certain state. I want to be able to rigorously define the rarity of a given variant through an estimation of population sizes for that given variant. This is something that people in the community haven't done yet but would be a boon to the stability of prices ... |
I have created an AR(2) and AR(5) model to forecast my data in stata. The AR(2) model is a level model, while the AR(5) model is a log model. I have computed the RMSFE to compare the forecasting accuracy between the two models, but given that the AR(5) model is a log model, the RMSFE is much lower than the one for the ... |
I'm looking to build a binomial model in R for a fascinating experiment involving flower pollination at various temperatures. In this experiment, plants exhibit a dynamic range of flowers and floral stems. Some plants even boast different floral stems, each with a varying number of flowers.
As bees work their magic and... |
X ∼ Uniform(a,b), a<b (Discrete) where f(x)=1/n where n=b-a+1 and Y ∼ Uniform(c,d), c<d (Continuous) where g(y)=1/d-c. X and Y are independent. Let z = x - y. I was able to find the E(Z), however I couldn’t derive its variance. What is the Var(z)? I couldn’t write the integral from of its variance to begin evaluating. ... |
So, this is a conceptual question on the design of a model. I am getting started with ML and on a slight time crunch to get some results. My problem is not a classical recognition problem. It’s more of a confirmation problem. For example, in the digit recognition problem, my task is not exactly to recognize which digit... |
I started working on some linear mixed effect modelling, and I'm using lmer() in R.
My question is regarding the number of observations. Is there any assumption or rule of thumb?
I have tens of thousands of observations and want to understand the random effect of four different variables.
It looks quite computationally... |
I wish to study the correlation of responses of 150 participants to two concurrently-administered previously-validated questionnaires (each giving numerical summary scores as output). Both questionnaires give off numerical scores that are directly proportional to perceived quality of life (higher scores = perception of... |
Background
This is related to the following question: Is an experiment's Sample Space always useful?
I understand that Sample Spaces are sets holding all the possible outcomes of an experiment. Thanks to a great answer here, I understand that a Random Variable assigns a value to each outcome in the sample space. And fr... |
I am currently working with signal classification problem, and since I can retrieve as many signal samples as I want, I've always chose to construct perfectly balanced datasets. But recently I became to think that maybe it wasn't such a great idea. Maybe by constructing this "ideal" situations I unintentionally decreas... |
In this tutorial video of normalizing flow, the presenter mentioned that for the original autoregressive flow, the density evaluation is fast and the sampling is slow. In contrast, for the inverse autoregressive flow, the sampling is fast and the density is slow. I could not understand why. Because both the density eva... |
I've recently come across the ALE algorithm and I'm currently trying to get my head around Judea Pearl's theories incl. the "Ladder of Causation" and I'm struggling to understand how the two relate.
In ALE you are nudging values for a single variable to the upper and lower edge of a bin to see how this changes the pred... |
I would like to understand why an anova is made on a lme (or lmer) and how to interpret the anova output.
lm1 <- lme(EWL..mg.h. ~ Condition*Session + Condition*Sex +
Condition*Mass, random = ~1|Individu,
data = data_respiro_acoustic)
summary(m1)
Anova(m1, type = c("III"))
Summary Output :
Linear mixed-ef... |
I am working at a company that invests in ads for apps at different stores. I have a dataset containing the columns date, app, investment, revenue, visualizations and some others. So for a given date and a given app, I know how much money was spent that day (investment), and how much money was generated by that app tha... |
I'm currently working on a Gaussian Process Regression (GPR) model using the implementation provided in skopt.learning.GaussianProcessRegressor which is a wrapper for the sklearn implementation. This wrapper provides gradients for the mean and std of predictive distribution through the predict function.
I'm using these... |
I looked through other questions on stats.exchange, but could not quite find a similar question, this post probably comes the closest to it.
Since (fully-connected) neural networks with only one layer and no activation function is linear regression, even though it is trained with some form of gradient descent, I expect... |
I have a two-level logistic regression model where the outcome is "InfectedqPCR" (Plasmodium-infected as determined by qPCR) at the individual level.
I have a range of individual- and household-level variables.
Household is the grouping structure.
I have been reading Austin and Merlo's (2017) "Intermediate and advanced... |
I have a dataset with three levels:
on the lowest level there are news articles
on the mid level, news articles belong to news outlets
on the highest level, news outlets are grouped by a categorical variable
Each news articles can belong to only one news outlet and each news outlet can belong to only one high-level g... |
How comprehensive is the toolkit for Bayesian inference when trying to make causal inferences with observational panel data?
I can see an easy application with the incorporation of fixed effects or the ADL model, but these models have well-documented problems.
I also understand that there are Bayesian applications for ... |
Background:
We have biological gene expression data of cells (from a single-cell experiment). So, the data is in the form of a gene by cell matrix, where each value is the expression of a specific gene in a specific cell. I am seeking to establish genes that "go together" with another (continuous) property of the cells... |
My question: I liked the Google causalimpact package in R and want to do the same work in Python. Which package should I use?
The very first library I saw is a port of Google's R causal impact package, perhaps the first:
pycausalimpact 0.1.1. But the repository has disappeared (but
there is still a medium.com tutorial... |
I have a dataset with approximately 1800 observations and I'm trying to fit a multivariable logistic regression model (250 cases, 1550 controls). There are 19 covariates (mix of continuous, ordinal and categorical) with P < 0.2 on univariate regression and I am planning to include them in an initial full model. There a... |
I've developed a model using L1 penalized regression using tidymodels and 10-fold cross-validation, and determined the predictors that explain approximately 87% of the variance in test data. I need the penalization to scale unimportant predictors to zero. In the field, however, the top predictor is assumed to be much m... |
I am using the PROCESS macro to do a basic mediation analysis, with variables X,M, and Y. All are continuous. I know from theory that X and M, and M and Y respectively, should have a relationship. I am certain from the theory that X is causing M, not the other way around. Indeed, in my data when I do a regular linear ... |
The Context
Let's say for argument's sake that I have a time series dataset, $X_t$, that is stationary, exhibits strong autocorrelation and is a good candidate for an ARIMA-type model.
I have a series of observations for this time series variable, $(X_{1,0},X_{1,1},...X_{1,N})$ which is evenly distributed in time and h... |
I have a time series Markov Switching model, which is estimated in about 15 different versions. One or two of the time series had to be normalized in order to converge. That is 1-2 out of 15. My question is if I have to normalize all models in order to be able to compare and derive conclusions on the model's combinatio... |
I am trying to forecast electricity consumption using hourly consumption data over a span of 4 years. However, when I plot the ACF and PACF graphs, the confidence interval turns out to be very narrow, rendering the graphs seemingly meaningless. I have experimented with various alternatives for the frequency (e.g., 24, ... |
In Improving support vector machine classifiers by modifying kernel functions, the authors defined Riemannian metric tensor for a kernel as follows:
$$
\begin{align}
g(\vec{x}) &= \text{det}|g_{ij}(\vec{x})|
\nonumber\\
g_{ij}(\vec{x})
&= \frac{\partial}{\partial x_i} \frac{\partial}{\partial x_j} K\left(\vec{x}, \ve... |
I have a computational model that involves having a set of $K$ covariance matrices, $\{\Sigma_1, ..., \Sigma_K\}$ with each $\Sigma_i \in R^{n \times n}$. Storing all these full covariance matrices is memory-expensive because $n$ is in the order of thousands, so I want to store them more efficiently.
The spectral decom... |
I'm working on some economic stuff and the objective is to conduct a panel data analysis. I assumed the following data-generating process:
\begin{equation}
y_{it} - y_{i,t-1} = \eta z_{i,t-1} + \gamma_i x_{i,t-1} + \beta_i y_{i,t-1} + \delta_t + \alpha_i + u_{it}
\end{equation}
where $y_{it} \equiv log (Y_{it})$. Thus... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.