instruction stringlengths 9 38.7k |
|---|
The time-series I'm looking to forecast consists of daily data.
The other time-series are made up of each of daily, weekly and monthly levels.
Top of mind approach is to use an MV regression, obviously made more complicated here by the mixed frequency. Have seen MIDAS approaches, and reverse MIDAS in my case, for deali... |
I have a machine learning model (e.g. Gradient Boost Regressor). I use hyperparameter tunning (e.g. random search) in a Cross Validation loop (e.g. 5 folds) in order to recover the optimal parameters of the model.
When I run the hyperparameter tuning for a very large number of iterations (e.g. 10^6), I get 10^6 differ... |
I am interested in clustering a mixed type dataset and therefore I have found the package "clustMixType" in R Link to package description. I want to cluster numerical, categorical and ordinal variables. My original data set has an ordinal unequal size interval variable age (0 - 12, 13 - 18, 19 - 25, 26 - 90) which is p... |
I was trying to understand the null hypothesis of the Wilcoxon rank sum test and thought that the null distribution of the rank sum could be obtained by a permutation test/Monte Carlo test.
If this was truly giving the correct p-values, it seems to me that the Wilcoxon rank sum test would somehow have to have the perm... |
I conducted an experiment involving two forest plots: one that experienced a fire and another that remained unburned. Each plot was further divided into two regions: the edge and the interior. My objective was to determine the location of greater seed predation—whether it occurs more in the burned or unburned plot, and... |
I have a random vector $\pmb{x}=(X_1,...,X_p)^T\in \mathbb{R}^p$, a symmetric matrix
$$\Theta = \left(\begin{matrix}0 & \theta_{12} & \theta_{13} & \cdots & \theta_{1p}\\
\theta_{12} & 0 & \theta_{23} & \cdots & \theta_{2p}\\
\theta_{13} & \theta_{23} & 0 & \cdots & \theta_{3p}\\
\vdots & \vdots & \vdots & & \vdots \\
... |
When fitting GAMs in mgcv package in R using smooth function, an identifiability constraint is typically imposed, such that smooth function should sum to zero (thus, addition of the main effect is also required). There is one specific point, which is not fully clear to me: is this summation to zero over total range of ... |
I have a performance test with a high degree of inherent measurement error. I have some data from a pilot study where I took 30 repeat measures with a single device and I want to figure out how many repeat measures (hopefully less than 30!) will provide me with a reasonable estimate of the mean for an individual device... |
I have a dataset with an exponential relationship that I'm linearizing before fitting with code like this:
glm(log(y) ~ log(x), family = gaussian)
I'm trying to decide between using link = "identity" and link = "log" with the Gaussian distribution. For my data, a model fit with the log link has a very slightly lower A... |
I'm working on object counting problem with deep learning object detection methods (specifically, yolo and faster rcnn). Is there any known method for uncertainty qunatification for object counting (i.e. predicted count $\pm$ x)?
|
I have a model trained with Xgboost on some training data X_train, described by 10 features (x$_{1}$,...,x$_{10}$) and some of them might exhibit some missingness, i.e. some x$_{i}$ = NaN. This is ok for training a model like Xgboost as it can handle missing entries. Then, I want to tackle the explainability of the mod... |
Consider the following $AR(p)$ model $$Y_{t}=\sum_{j=1}^{p}\phi_{j}Y_{t-j}+\epsilon_{t},$$ where $\epsilon_{t}\sim i.i.d\ \mathcal{N}(0,\sigma^{2}).$ Say we have samples $t=1,\dots, T$. The true lag is denoted by $p_{0}$. We don't know about the true lag, but we know that it is a bounded finite number $p_{0}\leq \overl... |
I have a matrix of data with approximately 200,000 samples and 30 variables. The variables have been standardized because their original units of measurement are arbitrary/irrelevant.
I am interested in eventually clustering the variables, not the samples, but want to do PCA first so I don't have 200,000 dimensions whe... |
I'm trying to generate random variables whose correlation matches some existing data. My coding skills are good, my statistics, not so much... I'm trying to follow this this answer.
I know that...
...there is numpy.random.multivariate_normal(). Using it in the code below does preserve the covariance matrix. Howeve... |
I'm studying about the applications of bayesian inference to fitting dynamical systems to observations.
So the model itself is a deterministic SIR model:
$$
f(R_0,D_{inf})=\begin{cases}
\frac{dS}{t}&=-\beta S\frac{I}{N}
\\
\frac{dI}{t}&=\beta S\frac{I}{N}-\nu I
\\
\frac{dR}{t}&=\nu I
\\
\end{cases}\tag{1}
$$
wher... |
I am attempting to train a Beta-VAE on historical interest rate curves to map interest rate curves to a lower dimension latent space. I have chosen to use VAE over PCA or autoencoders because I want a regularized latent space to make a generative process possible (continuity and completeness)
The problem I have is that... |
I'm using the DLNM package in R to explore the use of distibuted-lag structures in otherwise-fairly simple linear models. Id like to compare the performance of my model to other models using a holdout dataset, but am having difficulty taking my fitted models and computing estimates on the holdout dataset.
Here's a qui... |
This model of toad movement is presented in https://www.sciencedirect.com/science/article/pii/S030438001630850X. I'm confused at to how the probabilities are set out and was wondering why if P(return) = $\sum_i p_{ret(i)}$ then why is $1 -p_{ret} = \prod (1-p_{ret(i)}) \neq 1 - \sum_i p_{ret(i)}$, since the events of r... |
i created a toy example data below to give readers a sense of the data structure. Y is the continuous, dependent variable. I know that the standard deviation of Y of the subjects in the "Before" Treatment group is much higher than that in the "After" Treatment group.
And my goal is to identify the factors that can expl... |
I've been learning about SEM and I was curious why lavaan uses the z test for testing a beta? I was reading here https://tdjorgensen.github.io/SEM-in-Ed-compendium/ch2.html that it was because estimators in SEM assume asymptotic normality and degrees of freedom are hard to calculate? Why can't we just use the same degr... |
I am planning a meta-analysis based on cohort studies only. There are dozens of papers reporting results of treatments A and B. But the treatments were never compared with each other. Besides, there is no common reference treatment C to allow performing network meta-analysis of A vs B vs C; to be exact, there are too m... |
The following two results on the residuals ($\epsilon$) in the case of linear regression get stated as assumptions of the linear regressions
$E(\epsilon) = 0$
$cov(X, \epsilon) = 0$
Here is MIT 18.650 professor Philippe Rigollet stating that these are assumptions
However, both of these are just results of fitting a l... |
I collected data at four waves (i.e., four time points), and I want to use a linear mixed model to analyze the data.
Is it better to treat the time variable as categorical or continuous?
|
The 2 random variables have different parameters p, therefore cannot be added. I understand that
2X ~ Bin(4,1/2) and 3Y ~ Bin(9,1/3) [by additive property of binomial distribution with same parameter p].
Now, I have summed all the probabilities where 2X+3Y=13 [for example when 2X=1 and 3Y=12].
However, this is a very l... |
Suppose I am fitting a Bayesian mixture model that's structured as follows:
$$
Y_i | (z_i = k) \sim \mathcal{N}(\mu_k, \sigma_k^2), \quad k = 1, \cdots, K
$$
$$
z_i \sim \text{Mult}(1; w_{i1}, \cdots, w_{iK})
$$
$$
alr((w_{i1}, \cdots, w_{iK})) \sim \mathcal{N}((\mu_i1, \cdots, \mu_{i,K-1}), \Sigma)
$$
$$
\mu_k = \beta... |
I am working on a student research project using structural equation models for longitudinal analyses and am currently checking the assumptions. My sample comprises around 300-400 people.
If I have understood correctly from forum posts and various books, the univariate normal distribution must be checked first when che... |
Recently I was working with a process named Variance Gamma with Stochastic Arrival (VGSA) and trying to fit this process on a given data.
To obtain VGSA, as explained in Carr et al. [2001], we take the VG process which is a homogeneous Lévy process and build in stochastic volatility by evaluating it at a continuous tim... |
Consider data $X_1,...X_n$ generated from a probability distribution $F$ with density $f$.
I'm interested in constructing confidence intervals for a parameter say, $\theta(F)$. Via Monte Carlo simulations, I want to compare the expected lengths and coverage probabilities of $X\%$ confidence intervals based on
exact re... |
I'm trying to eventually fit a multinomial mixed effects model. It seems mclogit::mblogit can do this, so I'm trying to compare it with lme4::glmer on a binomial model first.
Are these two models based on sample data the same?
library(lme4)
library(HSAUR3) # toenail data
library(mclogit)
gl <- glmer(outcome~visit+(1|tr... |
Consider the following sample of numbers:
9,18,11,14,15,17,10,69,11,13
Since there are 10 elements, the median of the set would be (13+14)/2 = 13.5
However, is it wrong to say that median is one of 13 or 14? Can you cite credible sources/authors who claim that 13 or 14 can be the median, i.e. n/2 or (n/2+1)th element c... |
My dataset: I have a binary outcome variable (dispersed, not dispersed) that I would like to model using several explanatory variables. Some of the explanatory variables are single time point (e.g., origin, sex). However, because it takes several years for the outcome to occur, some of the explanatory variables are lon... |
In order to access whether I am overfitting a multilinear model, I have calculated the predicted $R^2$, based on the info found here.
My question is, when is a predicted $R^2$ "good enough", compared to the adjusted $R^2$?
I guess, it will (almost) always be lower than adjusted $R^2$. In my specific case, the adjusted ... |
I have some time series data including four different locations. There is an intervention at a certain point in time (different in each location).
d <- structure(list(location = c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L... |
I want to conduct a Bayesian statistical analysis of a sequence generation phenomenon.
The sequences generated contain elements from a known alphabet.
Working on that, I have tried to define the prior probability distribution of frequencies of each element of the alphabet without any information about the phenomenon ex... |
I am trying to obtain predictions, given new data, from within a loop using the gamm4() function in the mgcv package of R. However, I run into an error message that makes no sense (to me ...). I am hoping that someone can explain what is happening, and how to fix it.
I start with a list of gamm4 objects:
my.list <- l... |
I am working on a binary classification problem with a limited dataset (50 observations), aiming to understand the influence of categorical features on the target variable. I'm exploring several models within the R caret package, including LDA, KNN, Naive Bayes, QDA, logistic regression, SVM, random forest, and neural ... |
I am researching a linear model where the noise is a function of the slope parameter as follows
$$y_i = \beta_0 + \beta_1x_i + \beta_1\epsilon_i$$
$$\epsilon_i \sim N(0, \sigma^2 g)$$
where $g$ is known. If reparameterized slightly so that
$$y_i = \beta_0 + \beta_1p_i$$
$$p_i \sim N(x_i, \sigma^2g)$$
it reminds me of m... |
I am using mgcv to run GAMs with elevation as the only predictor and concentration as the response. Naturally, the response cannot be negative (i.e., concentrations are necessarily >= 0). However, when running GAMs of either of the following forms:
gam1 = gam(concentration ~ s(elevation, bs = "cr"), data = dat)
or
gam2... |
If $y_{1}, y_{2}, . . . , y_{N}$form a sample of independent standard-normally distributed
random variables and $\bar{y}$ is the sample average.
Is it correct to say that $$\bar{y}^2 \overset{p}{\rightarrow} E[\bar{y}^2] =0$$
|
A common well-known issue in Variational Bayes is the variance underestimation of the posterior. Some methods using "sandwich" variance have already been proposed but provide frequentist point estimate variances not posterior-corrected distributions.
Since the mean is accurately estimated by Variational Bayes, I am won... |
An example of this type of prediction task is modelling economic time-series data. Depending on the type of data being reported, the sampling frequency varies: GDP is reported quarterly, employment reports monthly, money supply weekly, and interest rates daily.
If I want to predict some quantity, say inflation 5 days ... |
I am working on defining the requirements for a test/evaluation dataset for a many-class classifier (n_classes ~ 1,000), and am working to address concerns about ensuring the statistical power of the classifier.
At a high level, I can frame the problem as a binary classification problem and extend the sample size requi... |
I have some confusion about logistic regression, Poisson regression and Poisson rate regression and I hoping to get some answers that can clear the cobwebs in my mind regarding this confusion.
My outcome is a binary "Yes-Smoke", "No-Smoke" variable.
No-Smoke : 3154 (86%), Yes-Smoke : 493(14%)
One row per subject, no re... |
I have a list of hotel names which may or may not be correct, and with different spellings (such as '&' instead of 'and'). I want to use clustering in order to group the hotels with different spelling, but that are the same nonetheless.
I thought of using Affinity Propagation with levenshtein distance, but the dataset ... |
I am comparing the linearity of a regression model for two independent devices (n=10 each device group). The data is force (newtons) over time (seconds). The regression models show R^2 values of 0.9 to 0.95 for all devices. I want to do a statistical test to see if the R^2 values are significantly different between the... |
Consider a case in which you want to know if two variables (X, Y) are independent conditional given a set (C) of other variables. A recent paper (Shah, R. D., and J. Peters. 2020. The hardness of conditional independence testing and the generalised covariance measure. The Annals of Statistics 48:1514-1538) has shown ... |
Consider two continuous and unknown distributions
$$X : {x_1, x_2, ..., x_n}$$
and
$$Y : {y_1, y_2, ..., y_n}$$
both can be tagged as time series with $n > 8000$.
I need to estimate the likelihood of the observations in $X$ for $Y$ in a non-parametric manner. So far, I am estimating $G$ (the empirical PDF of $Y$) and I... |
I am trying to run mediation analysis to see if one continuous biological variable mediates the relationship between another continuous biological variable and a time-to-event survival outcome. I am using the mediate function in the mediation R package, the output of which gives "control" and "treated" ACME/ADE/Proport... |
I have a situation where I have several mice A, B, C, etc., each of which has several thousand datapoints, all associated with a timepoint of 1 year, in addition to a single datapoint associated with earlier timepoints. I'd like to identify which of these 1 year datapoints is most significant. So something like
Mouse 1... |
I'm considering a logistic regression of $Y$ on $X_1,...,X_K$ where $X_1,...,X_K$ are all dummy variables. I'm wondering if the MLE of such a logistic regression is statistically valid since non of $X$ is continuous. If valid, how can I interpet the estimation results?
|
I'm studying a Bernoulli random variable $X$ with success probability $p$ which is unknown but satisfies $|p - a| < \epsilon$ for some constants $a$ and $\epsilon$. Given some confidence level $C$, I'd like to know how many samples $n$ that I need to be confident that the estimate $\hat{p} = \bar{X}/n$ lies within the ... |
Rather than using Cross Entropy Loss and one hot encoding for neural network classification tasks, if my model outputs a single scalar value and I use mean squared error loss what will happen?
|
I have a random variable $X$ with moment generating function:
$$m_X(t) = \frac{2}{9} + \frac{e^{-t}}{9} + \frac{e^{-2t}}{9} + \frac{2e^{t}}{9} + \frac{e^{2t}}{3}.$$
I want to find the probability $\mathbb{P}(X \geqslant 0)$.
For me to calculate the probability, I need to identify the distribution of $X$ using uniquenes... |
All! I know the central limit theorem works for a lot of cases, and some variants including Lindeberg are also pretty useful, but now I met such product case, and wondering if some classical or variant of the CLT still works or not for $Z_n$:
\begin{align}
Z_n = \frac{1}{\sqrt{n}} \left(\sum_{i=1}^n X_i + \sum_{i=1}... |
Suppose I have a list of items(~3500 in number) and I want to do a group based ranking into 4-5 groups. I can get pairwise comparisons between the elements but I want to choose the items to compare in each pairwise comparisons in some intelligent manner. I am looking for ways to do this and get reliable data.
Does anyb... |
Problem: Find a solution $\hat{\varepsilon}$ of the following minimization problem
\begin{align*}
&\min_{\varepsilon \in \mathbb{R}^M} \sum_{h=1}^M \varepsilon^h \hat{R}^h+\beta \sum_{h=1}^M \varepsilon^h \log \left(\frac{\varepsilon^h}{\pi^h}\right)\\
\text{s.t }& \varepsilon^h \ge 0\\
& \sum_{h=1}^M \vare... |
I'm fitting some hierarchical models in R using lmer, and am trying to understand why the results change as they do when I either include or exclude a fixed-effects intercept term. I have already looked elsewhere on CrossValidated and the broader web, to no avail.
Some quick background to help interpretation of the bel... |
I am currently reviewing the assumptions related to structural equation modeling and I read the following in an article on the subject: "Second, the assumption of normality applies to the residuals and is thus only relevant for dependent variables as defined in a given model; in contrast, the independent variables can ... |
I have used a mixed-model ANOVA to examine changes in weight following an 8-week intervention in 3 groups (Control, Diet A, & Diet B).
The ANOVA identified significant within group differences with both Diet A, and Diet B having significant reductions in weight, with no changes in the Control.
However, pre-& post there... |
I have a data set of historic behavior (2 years back) attributes for about 2 million customers and I want to make predictions of the customers probabilities coming 365 days. I have about 30 different features. I looked at customer behavior during 2021, 2022 and added the target variable (profitability) based on 2023. T... |
I have been reading Hyndman & Athanasopoulos "Forecasting: Principles and Practice" (newest edition here) recently, and I noticed something that I regard as a possible inconsistency. On the one hand, the book generally advocates model selection based on information criteria (typically AICc, sometimes BIC). On the other... |
This histogram shows the sampling distribution of 5000 sample proportions each based on 50 persons.
Why are there gaps between the bars in the histogram?
|
I have computed confidence intervals for the R-squared performance of different PGS models (via r2redux, as described in this paper) and now I wish to conduct statistical significance tests of their differences.
I understand the means and standard errors can be calculated by assuming that the 95% confidence interval wa... |
Using standard survival models (e.g. Joint Survival Models), I could calculate the hazard and survival functions for individual cohorts at different time points in the future. Thus, I could make the naive argument that a standard Survival Model could show me when the average individual in a given cohort is expected to ... |
I'm running an AB test where I split customers into A and B by stratifiying on the levels of a variable X. I collect data like this:
customer_id,treatment,y,X
1,A,1.1,Low
2,B,1.2,High
3,A,1.1,High
4,B,1.2,Low
I want to run a bootstrap to calculate confidence intervals of the difference in medians.
To do the boostrap, ... |
I have a small sample size ($n = 23$) and I ran some t-tests to see if there were any group differences (group one had $11$ participants and group two had $12$ participants). I can wrap my head around small samples not being sufficiently powered to detect statistically significant results (and there were none at $0.05$... |
I am running a cox proportional hazard model on a data set of 63 instances and 11 variables. When I do univariate analysis, all runs fine and I get non-significant results for all variables
When I run the same model in multivariate model, it utilizes only 27 instances due to missing values in some variables. It gives m... |
Lets say I have a set of paired x' and y' values and I have a N sets of reference values also consisting of paired x and y values. I would like to determine which reference set best matches by x'y' set. The values in x and y are discrete and I have no parametric representation of any of the data. There maybe multiple x... |
Suppose I have a large population, in the millions, drawn from some underlying distribution, which we will take as a member of a known distributional family with unknown parameters. Assume the population is ordered along some variable of interest. In addition to the common statistics usually reported on large populatio... |
Say we have the following multivariate regression model:
$ y = \beta_1 x_1 + \beta_2 x_2 + \varepsilon $
The OLS formula for the first coefficient looks like this
$ \hat{\beta}_1 = \frac{Cov(\tilde{y}, \tilde{x_1})}{Var(\tilde{x_1})} \tag{1} $
where
$\tilde{y} = y - \frac{Cov(y, x_2)}{Var(x_2)}x_2$
$\tilde{x_1} = x_1 ... |
I am currently building a model GAM model to describe house prices. The dataset is a collection of roughly 200K house sales prices $\{p_{i}\}$ in a particular geographic region along with a range of variables $\{x,y,var_{1},var_{2} \}$ describing the house such as its geographic location, condition etc.. My strategy, w... |
Same context however: So I'm trying to see the effect of 2 different types of essential oils (rosemary and ginger) on e.coli. What I did was that I increased the concentrations of the oils and I used the disk diffusion tests and measured the inhibition zones formed.
Based on the following results, how am I meant to car... |
i'm trying to forecast inflation using the macroeconomic variables i understand to be determinants of inflation (e.g. inflation expectations, exchange rates e.t.c) however, what ive noticed is that in each case, the statsmodels varmax model using the exogenous variables does not improve the baseline arima forecast (us... |
I have a survey and we want to look at a pair of questions we think are very similar and possibly asking the same thing. If they are we'd like to reduce the two questions to one question. Both questions have ordinal responses ranging from 1 (No) to 4 (Yes, completely). What would be the most appropriate way of seeing i... |
I recently needed to use a Zero-inflated Negative Binomial and Hurdle Negative Binomial models to model some data. When finding ways to assess the goodness of fit, I came across rootograms. But I am struggling with interpreting them, im pratical terms.
Considering the following example, from Christian Kleiber and Achim... |
I was wondering what if the following process can be considered p value hacking or just bad statistical practice. What I currently have are two subsets of one large parent dataset. These subsets are created based on their group classification (for example disease vs control). Both of these datasets have the same number... |
I have a dataset that I want to perform a regression on. However, some of the columns are not in numerical form. For example, the extra classes column. What I wanted to know, is if I change the no's to 0 and yes to 1, will it affect the results as the health and absences columns are on a 1-5 scale (1 being poor 5 being... |
In the original XGboost paper (https://arxiv.org/abs/1603.02754), in section 3.3, the authors simplified equation 3:
To:
Shouldn't this be a positive sign with the target being -g/h? Wikipedia shows the same equation in the algorithm section: https://en.wikipedia.org/wiki/XGBoost but states target to be -g/h.
|
I am trying to convert the Hazard Ratio from this paper (Risk of Gastrointestinal Adverse Events Associated With Glucagon-Like Peptide-1 Receptor Agonists for Weight Loss) to determine the prevalence of gastroparesis in a given population.
The absolute risk of an individual developing gastroparesis is 50 per 100,000 in... |
I have two discrete distributions (histograms) A_i and B_i and antoher one C_i, and I'd like to compare first two with the third one in R using chisq.test.
This is a combination of histogram A with C.
And this is a combination of histogram B with C.
It is obvious that A is similar to C, but B is not.
However, when I ... |
Is it necessary to include both standard errors and exact $p$ values in a result table? Or is an exact $p$ value enough?
|
I have several years of daily data from August to December. I read that I can use
tbats from the forecast package. Each year has approximately 153 days but sometimes
it has less. I am using the code below. Is this correct? I am trying to predict for the
next 1224 days (8 years) but I am getting a straight line for the ... |
I'm dealing with compositional data (data that sum to 1). They are inherently multivariate. One way to analyse compositional data is with a ilr (isometric log-ratio) transformation. I'm following the procedure described here and here.
After an ilr transformation, it is suggested that we can uses traditional ANOVA or MA... |
When performing a k-fold cross-validation, the standard method is to evaluate the error on each test fold and take the arithmetic average of the statistic. What if the test statistic is sensitive to sample size? Would it be statistically defensible to join the predicted values from the k test folds and evaluate the tes... |
I have four time series $A,B,X,Y$. I found that somehow, $\rho( A, B ) = 0.9999$, $\rho( X, Y ) = 0.9999$,
I have also validated that $\sigma_A = \sigma_X$, $\sigma_B = \sigma_Y$
In other words $A$ and $X$, $B$ and $Y$ are really almost just two pairs of near-identical time series.
However I observe that $\rho( A - B, ... |
Optimal rate of convergence for a nonparametric estimator is well-known. This rate is derived for when we don't anything about functional form (expect perhaps degree of smoothness). Suppose we know that the true functional form is say linear and despite knowing that we apply a nonparametric estimator, is the optimal ra... |
I have a question on syntax for Mplus.
I am running a multivariate latent growth curve with 7 repeated measures, variables X and Y (diagram attached). I also have two grouping variables, sex and country.
I asked the Mplus support how would I go about if I wanted Mplus to calculate the effects of X on Y depending on bot... |
I am working on a time series forecasting project for a meal delivery service that operates in multiple cities. The company has several fulfillment centers across these cities for dispatching meal orders to their customers. My goal is to develop a demand forecasting model to predict the number of orders for the upcomin... |
I am trying to evaluate the performance of the GAN model, I have trained. I found that there exist two major choices FID (Fréchet inception distance) and MMD (Maximum Mean Discrepancy) for comparing the similarity of the training set and generated set data distributions.
The nature of the data I have is coordinate poin... |
I am not a statistics student so I have no clue about inferential statistics. All I learned was descriptive stats. I am currently conducting research to find if two groups are similar/not. I have looked around and thought a paired t-test analysis would suit my research, as I have two groups, one of which I set as the c... |
I am beginner in using the linear mixed-effect model (lme4). I tried the following to fit three factors (fixed effect)and one factor (farm) as random. I got the output but failed to interpret it specially the estimates. Can you help? for what parameters the estimates belongs?
fit1 <- lmer(GY ~ fertseasden+(1|farm) , d... |
I performed PCA on 4 variables and are shown in this visualization:
At first look it doesn't look convincing and the some clusters seem weird.
The data was cleaned and standardized beforehand. Only continues variables with plausible skew were used.
Used variables:
PURCHASES: Amount of purchases made using the accoun... |
I have a dataset with 200 individuals, 50 features and an outcome variable with 2 levels. The majority of features are not (statistically) significantly different (T-test, Kolmogorov-Smirnov test). I want to argue, however, that even though individual features lack differences, when considering all together there might... |
I am currently doing an analysis that involves fitting a model to a 1D graph.
Following the example on the emcee documentation, I started with Maximum likelihood estimation and am now looking at using MCMC and Bayesian statistics to constrain nuisance parameters in my function.
This is all fine.
The part that I am on b... |
I run quite a few mixed models in lme4. I've found that fairly often models don't converge unless the predictors are centered.
I found online that convergence warnings can sometimes be resolved by centering, e.g. https://rstudio-pubs-static.s3.amazonaws.com/33653_57fc7b8e5d484c909b615d8633c01d51.html , but I don't unde... |
I have very high-dimensional data (lipidomics) with two categories: patient/control and genetic mutation. These mutations have similar phenotypes, but they are considered different diseases. Their effect on the lipidome isn't entirely understood, so I don't think I can assign patient groups based on domain knowledge on... |
Description
Let $N\in\mathbb{N}^{+}$ and $X_{n}\stackrel{IID}{\sim}U(0,1)$ for $n\in\{1,...,N\}$.
Given $X_{1}\leq X_{2}\leq X_{3}\leq...\leq X_{N}$, I would like to understand $f_{X_{n}}$ by writing out $f_{X_{1}}$, $f_{X_{2}}$ and $f_{X_{3}}$ (as part of choosing a proper prior for some Bayesian test).
Attempt
Given ... |
The joint pdf of $X$ and $Y$ is given as
$f(x,y)$ = $\frac{1}{2x^2y}$ , $1<x<∞$ and $\frac{1}{x}<y<x$
Then find $P(Y>\frac{5}{4})$
Since the limits of $Y$ have $X$ in them, I am not able to eliminate them.
First I calculated the pdf of $Y$ by integrating the joint pdf of domain of $X$, and then I have to integrate it o... |
I am estimating moisture utilizing measurements from a thermal imaging camera. For context, my implementation becomes a FIR filter, and is very similar to the Weiner Filter.
I am using several pixels and frames, but my problems also occur if only one pixel (with several frames) are taken into account. Essentially, I am... |
I plan to run ANCOVA to test the effect of diet intervention across 3 groups. I have before and after intervention measurements and use before measurements as covariate ( lm(After ~ Group + Before, data = data)). However, for one of the variables, I can see a notable effect in one group but ancova results are not signi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.