instruction stringlengths 9 38.7k |
|---|
I am trying to understand how the values of the irf plots are estimated
I read following page: https://www.statsmodels.org/stable/vector_ar.html
But I don't understand how the values of the impulse response are estimated.
I have a model that I fit with order of 3.
result = model.fit(3)
coefficients and residuals:
resu... |
I have the following result from a hierarchical model.
I know how to write the equation for a multiple regression model. Is it possible to write a similar mathematical equation using the coefficients from this hierarchical regression model?
|
I was always taught to use $p\times(1-p)\times n$ for binomial variance. In a textbook for actuarial problems, I have:
probability of death benefit
A .01 200,000
B .05 100,000
Using
$Var(A) = .01\times 200000^2 - (.01\times 200000)^2 = 396000000$
I get the same answer with binomia... |
I am looking to build a multi state model some packages for instance in R are for panel or intermittently observed data (msm package) which I believe would be interval censored data and others can be used to fit models where transitions times are known (packages such as mstate and flexsurv). My question is to whether... |
I did ANN classification using SMOTE random sampling in python but I found strange plot loss and accuracy results. This is my code:
#With SMOTE
sm = SMOTE(random_state=42)
Train_X2_Smote, Train_Y2_Smote = sm.fit_resample(Train_X2_Tfidf, Train_Y2)
#TRIAL 4
def reset_seeds():
np.random.seed(0)
python_random.seed(... |
Can someone explain me the difference between these approaches, if you want i can provide the results, but since they are quite extensive, i could attach on demand.
I'm working with the Theory of Planned Behavior, lets say
a1,a2,a3,a4 are for construct A
s1,s2,s3,s4 are for construct S
p1,p2,p3,p4 are for construct P
... |
As is in the title, I'm curious: Is including only the consecutive observations of an ID in longitudinal data a prerequisite for estimating ID level fixed effect?
For instance, I have longitudinal data with the structure of firm_id-year. There is one value of firm_id, say, 'Corp_Umbrella,' with the value of sales at ye... |
I am running a statistical test to determine if females are more influenced by the framing effect. I designed a survey with three overall questions, each with a "positive frame" and a "negative frame". Each participant would be randomly chosen to answer either the positive or negative frame, and each frame would have a... |
We'd like to test if two rates (number of occurrences / number of days) are statistically different for a paper. However, for one of the rates (let's say Rate A), we have uncertainty around the exposure (number of days).
We have several different estimates for the exposure of Rate A. But the exposure variability is not... |
I have been using GAMMs to analyze time series data and I have included a smoothing term (hour of day by season) and I can't seem to find the results for the winter season. I have the proper information (edf, Ref.df, F, and p-value) for all my smoothed terms and each season except for winter. I am using the summary fun... |
Suppose that I observe a bi-variate joint distribution over two random variables, $(X_1,X_2)$. I want to represent this joint distribution as arising from a function $F$ applied to i.i.d. uniform random variables, that is, I want to find $F:\mathbb [0,1]^2\to\mathbb R^2$ such that when $U_1,U_2$ are i.i.d. $Uniform(0,... |
When I do causal mediation analysis in R package mediation::mediate(), I need to print out the standard error of the indirect effect estimate. However, I suppose there is no such output? I have two questions as following,
Is there anyway to get the SE based on this function output?
The output gives me the CI. And I t... |
We know that if $X \sim N_p(\mu,\Sigma)$ then $(X-\mu)^T \Sigma^{-1}(X-\mu) \sim \chi^2_p$, does the converse hold? Is it possible for a non-multivariate Gaussian random variable to satisfy $(X-E(X))^T (cov(X))^{-1}(X-E(X)) \sim \chi^2_p$?
|
I am learning the weighted majority algorithm in "foundation of machine learning" by Mohri. But I can not understand the conclusion from the book and other reference.
It has the statement
No deterministic algorithm can achieve a regret $R_T = o(T)$ over all
sequences.
How can we prove this? The book provide a scenari... |
I understand the analytic proof that lasso regularisation tends to shrink coefficients to zero.
However, from a practical standpoint, most of those methods are combined with gradient optimisation (like SGD).
For this reason, gradient of the loss w.r.t. each parameter is $\lambda\texttt{sign}(w_i)$, where $\lambda$ is t... |
An often cited advantage of Structural Equation Modeling (SEM) is that it is able to account for measurement error in the observed indicator variables, therefore allowing for consistent estimates in the presence of error-in-variables (in contrast to standard linear regression). It is not clear to me, however, what type... |
I have a dataset where treatment and subject play a role in how the data is behaving. I am fitting a linear model where I am modeling feature abundance as function of both covariates. My aim is to perform comparisons at treatment level while removing the effect of subject on the data. However, in some cases I have some... |
I wanted to ask conceptual about what to do with main effects?
Assume, I have randomly assigned equal two groups(let's say CBT, Control; N1=25; N2:25). I collected the depression levels at three time points (pre, pos and follow-up). At pre level, using independent sample t-test, groups did not differ each other signifi... |
I am working with a dataset of 110.000 rows. Each row only has categorical data, most of which is also nominal. Each of these rows represents an event that has several parameters (again, nominal) and an outcome. The question I'm trying to answer is what combination of parameters gives the best result. In this case, the... |
I want to analyze my data related to two different timelines - measuring stress and anxiety in two different time points:
time point 1 before meeting dogs, time point 2 after meeting dogs.
Then I would compare the data of both time points with each other.
What SPSS analysis should I use for this?
|
As the number of values sampled from the uniform distribution increases, the distribution of the mean tend towards a Gaussian. Why is that?
|
I am conducting a simulation study to assess the performance of several confidence intervals.
My approach is to simulated (N = 10000) datasets, estimate the parameters, construct a confidence interval, and for each simulated path check whether the true parameter is in interval estimate. This results is an empirical cov... |
I have been using CNN-LSTM for action recognition with dataset split 70% for training , 20% for validation , 10% for testing and after training , the validation loss and training loss were very close to each other and they were low but the model performed poorly on the test set . I believe it might be because of Data l... |
I have a random variable $X$ that follows a Gamma distribution.
$$ X \sim \text{Gamma}[\alpha, \beta] $$
I want to know the distribution of $Y$, i.e.,
$$ Y = a - \exp\left(-b X\right) $$
|
I got two population estimates a and b calculated each by a random forest regression. Variable c is then subtracted from a and b. As expected, the estimates a-c and b-c show a nice correlation (r = .80).
Calculation A: Then, for all features used for the estimation of a, I performed sperate linear regression for each f... |
Is there an agreement method that would be well-suited for a data annotation task where:
the labels are discrete classes
each datapoint belongs to exactly one class (multi-class classification)
each datapoint is annotated by 3 or more annotators
the labels are very imbalanced, with some labels occurring significantly ... |
I am trying to implement Soft Actor-Critic with automatic Entropy tuning.
One thing I noticed is that the authors, and also the majority of implementations of SAC use $-\text{dim}(|\mathcal{A}|)$ as entropy target $\bar{\mathcal{H}}$ in the loss function of $\alpha$, and I am confused where this exact value came from. ... |
I would like to know whether I can use the graph produced by dotplot(ranef(model)) to judge wether the random effects are significant or not.
GMA is my random effect in this case. I have edited out the y axis values, but every line belongs to a crop cultivar.
Can I say, based on this plot that, due to overlap with 0, t... |
I'm trying to calculate multivariate GARCH estimation of conditional value-at-risk, by adopting a three-step model from Girardi & Ergun (2013) paper entitled "Systemic risk measurement: Multivariate GARCH estimation of CoVaR". I'm using R and up until now I can't find any good references as to how to construct the mode... |
Can a Population stability index (PSI) be calculated for the XGBoost splits?
When I make a logistic regression with grouped variables, I can make PSI with the groups and see if the population in the groups are shifted to other groups.
Can this be done with the XGBoost splits? If it can't, what is the best option to tra... |
everyone!
Imagine I have a dataset which I'd like to use it to train a churn model (fot example: logistic regression, xgboost binary classifier, lgbm binary classifier, etc.).
The structure of my available data is similar to the one below, where Feature1,Feature2,...,FeatureN are just placeholders for the real features... |
I am aware that a question very similar to mine has already been asked here (Should AIC be reported on training or test data?), but some points remain unclear to me.
The accepted answer states:
On the other hand, when the model is evaluated on test data (not the same as the training data), there is no bias to −2ln(L)
... |
Q: Let $X_t$ be an ARIMA(1,1,1) process and $Y_t = Y_{t-1} + X_t$. What kind of process is $Y_t$?
$X_t$ is an ARIMA(1,1,1), i.e $\nabla X_t = X_t - X_{t-1} = Z_t $ where $Z_t$ is a casual ARMA(1,1) process and satisfies $(1-\phi_1 B)Z_t = (1+\theta_1B)\epsilon_t. $ Since $Z_t$ is casual, we may write $Z_t = \frac{1 + ... |
I have a medical data set with missing data in few variables. But on carefully observing, missingness of some variables are dependent on the response of another variable. For example, "age at when become pregnant" has missing data. But many of them are missing / not entered as this question does not make sense for male... |
assume I have time series count data that come from a zero inflated poisson distribution (ZIGP).
My idea was to estimate a ZIGP-Regression with including AR-features (lagged values) among other features.
However, in
https://timeseriesreasoning.com/contents/generalized-linear-regression-models/#:~:text=Therefore%20GLMs%... |
I'm interested in developing a set of clusters pertaining to shopping habits using a dataset from a survey that a colleague recently fielded. The survey contains a wide array of topics--some related to shopping habits, some not. There's a pretty big set of demographic items as well (race, gender, political affiliation,... |
My aim is to determine whether teacher salaries in all 50 of the United States over between 2013 and 2023—adjusted for inflation and the cost of living—differ significantly. I would like to ask what the wisest approach might be to modify unadjusted teacher salary averages (there is one average for each state) to accoun... |
I have just started learning fitting arima model for time series. So I am not very sure what AR and MA order I should use. May I know what are some possible arima models for the following ACF and PACF plot?
|
Please consider the Table below
Item
Sample Mean
Sample count, n
Sample Standard Deviation
Standard Error SD/sqrt(n)
Unit A
95.9461 PSI
n=430
3.8397
0.185166776
Unit B
94.488 PSI
n=25
2.5344
0.50688
Now when I want to show if these two tests are significantly different from each other.
$$
\frac{94.488 ... |
I am reading Bai and Ng (2002). In their proof of Corollary 1, they said “Next, consider k > r. Lemma 4 implies that $V(k)/V(r)=1 + O_p(C_{NT}^{-2})$”. However, Lemma 4 just states that $V(k)-V(r)=O_p(C_{NT}^{-2})$. Is there something wrong?
As a counterexample, if $V(k)\sim C_{NT}^{-2}$ and $V(r) \sim C_{NT}^{-3}$, th... |
I generated binomial data showing a logistic correlation to a predictor. I analysed such dataset with a generalised linear model which assumes a binomial distribution of residuals and a "logit" link function, but the residuals of such a model still fail to respect the model assumptions: the quantile-quantile plot shows... |
I'm interested in training a Random Forrest model to predict conditional quantiles (e.g., P75, P90) given the features instead of the conditional mean. Sklearn's RandomForestRegression has a mean absolute error (MAE) loss which build trees by using the median of each the terminal nodes, thus minimizing MAE - naturally,... |
Let's say we run a model with a three-way interaction that includes a quadratic term with its associated linear term:
library(emmeans)
library(ggplot2)
library(tidyverse)
car_data <- mtcars[,c("mpg" , "vs" , "am" , "disp")]
car_data$vs <- as.factor(car_data$vs)
car_data$am <- as.factor(car_data$am)
model <- lm(mpg ~ ... |
I have a data set in which my dependent variable is a score that can vary between 8 and 400.
set.seed(2023)
n <- 50
v <- rexp(n, .01)
obs <- mean(v)
I'd like to calculate if the effect I observe obs is larger than expected by chance. I understand that I need to build a null distribution. I tried
set.seed(2023)
prms <-... |
I had used the GPT chat to ask some straightforward questions. However, one of the responses left me feeling quite confused. Currently, I am studying the classical regression model given by
$$y_t = x_t\beta + u_t,$$
where $t = 1,...,T$ and $x_t$ is a deterministic (fixed) variable. As a result, I requested GPT to gener... |
I'm trying to learn on my own about confidence intervals for multinomial proportions, and I stumbled upon several resources on the subject talking about various methods (e.g. Goodman, or Sison-Glaz) . Yet, the resources I found are mathematically dense, and without guidance I'm afraid I have a hard time understanding h... |
Lets say I have $n$ observations of $Y$, $X_1$, and $X_2$. All three are normalized (mean 0, variance 1). I run two regressions:
$Y=\beta_1X_1$
$Y=\beta_2X_2$
Given these $n$ observations, is it possible for $\beta_1 > \beta_2$, but $tstat(\beta_1) < tstat(\beta_2)$ or for $\beta_1 < \beta_2$, but $tstat(\beta_1) > t... |
Consider the classic regression setting where we want to model Y using some design matrix X. However, let's say that part of the design matrix is a matrix of familial relationships up to some degree of relatedness. For example, let's say there are Z families in the dataset, with many individuals belonging to a single-p... |
Let $X$ be a symmetric random variable with bounded moments and standard deviation $\sigma$. I want to lower-bound $\mathbb E[|X|]$ in terms of $\sigma$. Here is the formal conjecture; I wonder if this is true or could be refuted:
There exists a global constant $C$ such that for every symmetric r.v. $X$ with bounded mo... |
I'm analyzing quality of governance on food security indicators for the last 3 years for 74 countries. To be precise, I am interested in a within-country variation across time (before and during the Covid-19 pandemic), as well as the between-country variation. This choice was informed by Bell et. al.’s (2019) article.
... |
I've got a logistic model where the annual change for each subject is of interest. Regression, easy. Generate estimated marginal trend for each subject, easy. Now, I have a set of what I presume to be trends expressed as log-OR. How do I translate those into something easier to understand, like "percent change per year... |
Given two groups of subjects (A & B) tested at multiple timepoints (A-T1, A-T2, A-T3 / B-T1, B-T2), with each subject tested multiple times at each timepoint - how can one build a single model to 1. Test if at specific timepoint (i.e. A-T2) group A is different from overall group B and 2. Test if there is a difference ... |
Can someone help me understand how exchangeability works for Latent Dirichlet Allocation (LDA) and how it enables us to treat words in the test set that are not present in the training set?
I know that LDA is by nature an exchangeable model, and I know the basic definition of exchangeability and how probability does no... |
Let $(X_i)$ be iid from a distribution proportional to $x^{\theta}1_{(0,1)}(x)$.
a) Find the most powerful test of size $\alpha$ of $H_0: \theta=0$ against $H_1: \theta=1$.
b) Find the UMP test of size $\alpha$ of $H_0: \theta=0$ against $H_1: \theta>0$.
I have solved part a) it turns out the critical region is $\{... |
As part of a proof, I need to take the first derivative of the log of the following multivariate normal density: $(2\pi)^{-k/2} |\Sigma|^{-1/2} \exp\left(\frac{-1}{2} x'\Sigma^{-1}x\right)$.
In this case, the mean is zero and $\Sigma$ has an exchangeable correlation structure, thus $\Sigma = D A(\rho)D$, where $D$ is a... |
Is there a website with a calculator to input 2 sets of data to perform the post paired t test adjusted with the Bonferroni correction? Or is anyone available to hire?
|
An interesting statistical curiosity I like is the following:
Suppose you have 3 non-random variables X, Y and Z.
Suppose that univariately X & Y can explain 2% and 5% of the variation in Z respectively.
The theoretical upper bound of how much of the variance you can explain in Z in a multivariate regression with X & Y... |
My question come across from this post: How to know that your machine learning problem is hopeless?
Is there any mathmatical or statistical way to prove that my machine learning problem is hopeless?
I have a project which tries to predict binary classes (0 and 1). However, I try the several models (some DL and classica... |
I am learning about the estimation of fractional response models (those with a lower and upper bound, say 0 to 1), using Stata. I came across this example on the Stata page, which I'm copy-pasting below for simplicity. I have 3 questions regarding the interpretation of coefficients, and any help is much appreciated.
"W... |
I know there are linear correlation measures such as Pearson that might not capture all cases of statistical dependence or nonlinear correlations. I know there are also nonlinear correlations, which can be measured by distance correlation
or mutual information.
Then there's the idea of dependence and association
" ass... |
I am doing a simple Linear Regression (with intercept) which ends up presenting a negative R2, this should not be possible (cf comment 2 at the end)
Reproducible examples of the issue:
Minimal sklearn reproducible code:
import numpy as np; print(np.__version__) # 1.23.5
import scipy; print(scipy.__version__) # 1.10.0
... |
I have read about use of centering an explanatory variable in regression analysis on the mean (through demeaning) when there is presence of multicollinearity. I have applied this for a binary explanatory variable that takes only 0,1 values. Is there a valid way to demean an explanatory variable that is categorical?
|
I have to compare two subgroups from the same population.
The two groups have partially the same records, so they are overlapping subsets of the same dataset.
Can I consider them as two independent groups and consequentially run analyses for independent groups?
|
Suppose $Y \in \{0, 1\}$ is a response variable and $X = (X_1, \cdots, X_p)$ are covariates with $X_j \in \{0, 1\}$ for each $j = 1, \cdots, p$.
In the Naive Bayes model, we assume conditional independence of the covariates given the class label, so that
$$p_{\theta}(y = 1 \mid x) = \frac{\prod_{j=1}^p p_{\theta}(x_j \... |
Is there a generic way of generating prediction (not confidence) intervals for any machine learning model?
For example, instead of one single point forecast y_hat, could I use the residuals from cross validation and calculate the 25th and 75th percentiles (i.e. Q1 and Q3) and let lower_bound = y_hat + Q1 and upper_boun... |
I am attempting to calculate a 95% prediction interval from an adaptive lasso model using the glmnet:: package in R. I adapted my method from the Python code in this blog post. Essentially it boils down to bootstrapping the training data, and then getting a distribution of model variance, model bias, and sampling erro... |
I am running a binomial logistic regression with a dependent variable is 0/1 and the explanatory variables are categorical - binary and multiple categories. When I add an interaction term, and run a VIF test for presence of multicollinearity, several of the coefficients of predictor variables take a VIF value of 5 or g... |
I am looking for the best optimizer for a multiclass classification problem, because my results aren't very good and I am pretty sure the optimizer is the problem. Also, a good learning rate for an optimizer or a learning rate schedule would also be appreciated. I tried google search but it didn't give me optimizers. T... |
I am trying to teach myself more about the mathematical background, properties and theory involved with calculating different types of "weighted mean estimators" - specifically, if I have sample means from different experiments, how can I combine these sample means together and create an estimate of the "mean of means"... |
I have data that I am trying to analyse, but am not entirely sure if I am doing the right steps. It is a mixed design where every participant experienced condition A, then they were randomly assigned to condition B or C.
Condition A: within-subjects
Condition B & C: between-subjects (randomly assigned)
Each condition... |
I'm trying to reproduce results in this protocol with OncoBayes2 package to learn BLRM with EWOC (Neuenschwander 2008) in dose finding studies. In section 14.2.2.1 (appendix 2) of the protocol it gives the prior median, sd and correlation of log alpha and log beta as mean: -3.068,0.564 sd: 2.706,0.728 corr: -0.817. The... |
I'll try to keep this short. I am using the R fixest package. I have the following regression that I've simplified for the example:
feols(y ~ x1 + i(x1, x2, "reference") | x2 ~ instrument, data = myData)
Basically, I am running a 2SLS, where I am using "instrument" as an instrument for one of my variables, x2, but I al... |
I have been told both things with regard to e.g. summing noisy time series, to justify opposing expectations.
On the one hand, I have been told to expect that summing multiple noisy inputs should lead to noise reduction for the output (the sum), because the noise components average to zero. I imagine this explains why ... |
I have the dataset:
df <- data.frame(
station = rep(c("A", "B", "C", "D"), each = 20),
vla = rpois(80,2),
latitude = c(rep(40.7128, 20), rep(34.0522, 20), rep(41.8781, 20), rep(39.9526, 20)),
longitude = c(rep(-74.0060, 20), rep(-118.2437, 20), rep(-87.6298, 20), rep(-75.1652, 20))
)
years <- rep(1979:1998, le... |
I have an experiment where groups received either one of two treatments over several rounds, and I observe whether an outcome happens for a group at any given round. The outcome is thus binary, it either happens or not.
I would like to test the hypothesis that the outcome happens more frequently under treatment 1 than ... |
I am new to SEM. My aim is to determine which factors (several intrisic and serveral extrinsic) influence school participation in children with disabilities. Some of my latent variables are scores to quetionnaires, which have a lot of items (around 70 - 80). These items are divided into subscales.
I wanted to know if ... |
I was reading Mader et al. 2023, where they model the effect of a variable (neuroticism) on both the outcome's (negative emotion) mean and variance. I noticed that the way the neuroticism score is obtained is by taking the mean of the scale items. Whether or not that is a reasonable choice here, I am aware of objection... |
In Bayesian linear regression, if we want to get confidence intervals for predictions of a new observation. I was thinking of the following two options.
Use the quantiles from samples sampled from the coefficents in the posterior $\beta | \mathbf{y}; \mathbf{X}$
Use the predictive posterior distribution, $y^* \, | \... |
Let $X \sim N_n(\mu, \Sigma)$, such that $AX=b$ where $A$ is a ($p \times n$) matrix, with $p \ll n$. How can I efficiently sample from this distribution?
I've seen techniques using elliptical slice sampling, but that seems to work only if the constraint is an inequality.
I realize I would be sampling from a $n-p$ subs... |
In a recent update from OpenAI, they mentioned the discovery of N neurons in their GPT-2 model. This finding raises the question: how did they arrive at this calculation? In their publication, they did not explicitly mention the methodology behind determining the number of neurons.
Upon further investigation, I came ac... |
I decided to train GCN on the Cora dataset for the node classification task, however, with the random labels, i.e., applying np.random.shuffle(labels). For the default set of parameters, I am getting an accuracy of around 0.3 for the test set and 0.4 for the train set. I expect that for the random labels, the accuracy ... |
I am trying to understand the implications of an IRF. Specifically in a VAR system.
Here is documentation I looked at:
https://www.statsmodels.org/stable/vector_ar.html#impulse-response-analysis
https://www.r-econometrics.com/timeseries/irf/
https://towardsdatascience.com/multivariate-autoregressive-models-and-impulse-... |
I am wondering if it is possible to make ROC-AUC curves for GEE models? I found few papers who did that and it wasn't clear for me. I thought it was impossible given how they are marginal models. Would someone give me their opinion and how to proceed about producing a curve if possible?
|
I am currently working on a very imbalanced dataset:
24 million transactions (rows of data)
30,000 fraudulent transactions
(0.1% of total transactions)
and I am using XGBoost as the model to predict whether a transaction is fraudulent or not. After tuning some hyperparameters via optuna, I have received such results
... |
Consider $X_n$ and $Y_n$ to random variable that are bounded in probability.
I know that
$$cov(X_n, Y_n) = O(n^{-1})$$
and that
$$(X_n, Y_n) \rightarrow_d (E_1, E_2)$$
where $E_1$ and $E_2$ are two independent random variables. By continuous mapping theorem, we know that
$$(f(X_n), f(Y_n)) \rightarrow_d (f(E_1), f(E_2)... |
I struggle to understand how batch normalization (BN) enables larger learning rates during gradient descent according to the original paper. I am aware that some of the explanations given in the latter have been debunked, but I would like to understand the logic behind them anyway.
The central claim is that BN has this... |
I am implementing the Wooldridge Two Way Mundlak regression and have an interacted model like so:
library(fixest)
reg = fepois(y ~ post_treatment:i(var1,var2,ref=0, ref2=0)|idvar+timevar, cluster="idvar", data=regdata)
And I'd like to recover the hazard rate impact of post_treatment, including standard errors, but I c... |
I have two GAMs fitted with a Gamma distribution, with the same model structure with a continuous response variable and one continuous covariate, two categorical covariates, and one random effect:
Family: Gamma
Link function: log
Formula:
feeding_t ~ s(month, bs = "cc", k = 12) + pop_id_cat + status_cat + s(animals_... |
I am currently working with the R package "gsynth" based on the publication "Generalized Synthetic Control Method: Causal Inference with Interactive Fixed Effects Models" by Xu (2017).
See also: https://cran.r-project.org/web/packages/gsynth/gsynth.pdf
According to this, X represents time-varying covariates. I am not s... |
I've spent last several weeks learning about survival analysis, see one of the last posts at How to simulate variability (errors) in fitting a gamma model to survival data by using a generalized minimum extreme value distribution in R?
Now I am primarily concerned with simulating death rates and secondarily deriving su... |
I would like to calculate the required sample size for a crossover design based on a study conducted in a parallel-design. I understand that one needs the within subject CV. Unfortunately, the authors only report M(SD) for each group and each time point (treatment Baseline, Control baseline, ...).
Is there any way to r... |
I have a dataset with categorical data. Each row of data can be either a success, a failure or neutral. How do I determine what categorical data has a higher chance of producing a success? I'm looking for both single columns (for instance, values a1 and a2 from column A yield a higher chance, with of course some kind o... |
I am currently using a train-validation-test split and Bayesian Optimization (BO), which is straightforward. Now, I want to transition to using 3-fold cross validation and BO (+an additional test set for final evaluation). However, I see that there are two ways to do that:
BO inside cross validation: Inside cross vali... |
I was experimenting with tagtime, which randomly asks the user what they're doing at a known mean rate $\lambda$. Let's say that every time I am sampled, I give a yes/no answer. If I answer yes $k$ times within some period, then I supposedly spent $k\lambda$ in the "yes" state, but clearly this is the mean of the proba... |
Please check that my understanding of hypothesis testing, confidence intervals, and their relation to the prior on population mean $\mu$ is correct.
Let $X_i\sim N(\mu, \sigma^2)$ be IID samples for $i = 1, ..., n$, (or $X_i$ any iid random variables with mean, variance $\mu, \sigma^2$). Suppose we don't know $\mu$ but... |
In (https://becarioprecario.bitbucket.io/inla-gitbook/ch-smoothing.html#sec:smoothterms), they show an example of a Random Walk 2 (RW2) prior being used on the LIDAR dataset. For the model set-up, we have that each log-ratio value, $y$, is observed at position $x$. The goal of the regression is to estimate $f(x)$ where... |
I have some time series data that shows a building indoor temperature subject to outside temperature. When the heating/cooling is turned off, the building slowly cools down (or heats up) towards the outside temperature. Now i was able to filter these periods in the time series. The data looks like the one in the pictur... |
currently I am trying to implement a prototype for the following problem.
I have data for machines, which sends me how long they have operated in seconds. Further, they have one sensor, which might have a value. So it would look like this
Duration Sensor Value
37 - -
31 se1 A
12 - -
29 ... |
I have data that is reasonably assumed to be iid samples from some distribution. Our goal is to put a confidence interval on the population mean and have something similar for the population variance. Notationally, we have IID $X_i, i = 1, ..., n$ with mean $\mu$, variance $\sigma^2$ unknown. Sample size $n$ varies fro... |
I conducted a content analysis on social media posts regarding CEO communication about sociopolitical topics. I have two levels of analysis entities: 1) the social media account of a CEO, 2) the social media posts per account.
One question I wanted to examine (on the level of 1) social media accounts) is whether the af... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.