instruction stringlengths 9 38.7k |
|---|
I was studying about Copula functions from here. It says:
Basically, copula is a set of mathematical tools that have the ability to connect two or more time-independent variables (Nelsen, $2003$)
As you can see, it says copula is used for "time-independent variables". But it is very strange to me, since I saw some pa... |
I have an analysis I'm considering, and I'm not familiar enough with the statistical details to tell if there are any potential errors. I've done my best to describe the analysis briefly below.
I conducted a latent profile analysis and have identified six different latent profiles. I would like to examine if there is a... |
The empirical risk of a multi-class hinge-loss is given by
$$L(\Theta,(x,y) = \max_{j \neq y} \Big[1+ \sum_{i=1}^{d} x_i(\Theta_{ij} - \Theta_{iy}) \Big]_{+} $$
where $x \in \mathbb{R}^{d}$ is a feature vector, $y \in \{0,\dots,9 \} $ is a label vector and $\Theta \in \mathbb{R}^{d \times 10}$ is the classifier. The em... |
The so-called landscape conjecture in machine learning says that in high dimensions, most critical points of the loss surface are saddle points rather than poor local minima.
Out of curiosity I was wondering if something similar can be conjectured about high-dimensional likelihood functions and posteriors, for instance... |
I am admittedly new to spatial autocorrelation and I did this research myself so apologies if this is completely noob behavior. I am trying to determine if there is a correlation between the location of car crashes in NYC and the number of 311 complaints about traffic safety issues within 100 meters. Below is the code,... |
I'm doing a retrospective survival analysis where I evaluate the recurrence of disease after surgery. The problem is that some of the patients don't come again to the clinic after surgery to do the follow-up visits and some others are followed up, for example, for less than 1 month (it should be noted that the disease ... |
What does it mean in a rigorous measure theoretic sense to have the conditional probability of an event given a continuous random variable (or vector) and an event? As in, suppose $A,B$ are events and $X$ is a random variable. Then what does $\mathbb{P}(B|X,A)$ represent?
I understand given a Sigma field $\mathcal{G}$ ... |
Does a conical combination of n Poisson distributed variables have a closed-form distribution (linear combination with nonnegative coefficients)? I know that the sum of random Poisson variables would itself still be Poisson distributed, but I also understand that that would not be the case for a conical combination. I ... |
I am interested in computing an estimate $\hat\Sigma_\hat\beta$ of the asymptotic covariance matrix of the parameter estimates $\hat\beta$ in a regression of $Y$ on $\{X, Z\}$, weighted by weighs $\hat\omega$ and estimated using weighed (quasi-)maximum likelihood. The weights themselves are computed as $\hat\omega=f_\o... |
I am new at data science. I would like to make ML models in orde to make predictions, but I am lost when I have to make interpretations to data... I would really like to understand the data with statistical analysis in order to chose a ML algorithm
Is there any book that teach all this stuff or something I am not consi... |
Here the situation. I have a model plane that records velocity in the x, y, and z axis at 16hz. I have a small data recorder attached to the underbelly of the plane that is also recording the same velocity at 1hz. I "flew" the plane in simulated turbulence for 3 hours and collected data. I want to validate the error of... |
I just can’t seem to find the name of this distribution:
$$\frac{e^{-x}}{(1+e^{-x}) ^2}.$$
From my understanding, it is generally applied to pandemics/epidemics.
None of the statistics books that I have looked at contained any information on it. I would really appreciate if someone can guide me about it.
|
Suppose that we have
$$\mathbf{y}\sim\text{N}(\mathbf{X}\boldsymbol{\beta},\sigma^2\mathbf{M}\mathbf{M}'),$$ and let $\boldsymbol{\hat{\beta}}$ be the least squares estimator for $\boldsymbol{\beta}$. How can we quantify uncertainty for $\boldsymbol{\hat{\beta}}$? At first, I thought that $\text{Var}(\boldsymbol{\hat{\... |
I'm doing a personal project and would like to see if High Caloric Food has a statistical significance on Weight Level.
I've tried Chi Squared Contingency test as suggested by chatgpt but it gives a p-value of 1 which fails to reject null hypothesis that there is no association between High Caloric Food and Weight Leve... |
Please bear with me. I am only recently familiar with some of these concepts. Please correct any poor assumptions.
I am analysing a cluster randomized trial with crossover between intervention and control. The authors say they will divide the difference between the groups by the 'robust standard error based on the Hube... |
Thanks for any answers in advance.
This question presumes a study has detected a difference between 2 groups, and has determined this difference to be statistically significant.
I'm reviewing a paper which wanted to recruit X patients based on a predicted difference between 2 groups of 5%. This was based on 85% power. ... |
If a cluster trial had homoskedastic data, but the regression model used by the authors used 'robust standard errors' intended for use with heteroskedastic data (or vice-versa), would the implications be clinically significant with regards to their conclusions?
|
I am currently trying to amend a paper that I am writing in order to include the interaction effects (a4 and b4 in the spreadsheet) This results in the following sum-product $$a_1b_1 + a_2b_2 + a_3b_3 + a_4b_4$$ Given that $${\Sigma (a_i \cdot b_1)=C-C'}$$ the test statistic should be the same once standardized. In the... |
I'm having some problem about irt prediction model.
When i use irt hybrid model, it cannot predict the latent value even it has successfully converge during the irt model processed.
It contain binary variable and ordinal variable.
global pvars1 = "varA" global pvars2 = "varB"
set seed 2453
IRT model
irt hybrid (2pl $pv... |
I am dealing with intermittent time series data, i.e. mostly zeros. Here is the particular time series that is giving me trouble:
[0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
60.0,
0.0,
0.0,
0.0,
0.0,
36.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
96.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
24.0]
This ... |
Consider a random sample of size $n$ following the possion distribution with parameter $\ln \theta$, that is
$$
f(x|\theta)=\frac{(\ln\theta)^x}{\theta x!}, x=0,1,2,\cdots
$$
and the prior of the parameter $\theta$ follows a Pareto distribution:
$$
\mathbb{P}[\theta]=
\frac{1}{\beta}\theta^{-\frac{1}{\beta}-1} , \theta... |
I'd like to write the following, about conditioning a normal r.v. on a rank statistic, but I'm unable to recall a specific theorem or theorems I can cite:
"Let $\hat{\rho}$ be an asymptotically normally-distributed statistic computed on IID bivariate normal sample $(X, Y)$ with population correlation $\rho$. Let $\hat{... |
I have conducted an APC-Detrended analysis.
Among the results, I want to test whether there is a significant difference in the coefficient values of the Cohort variable especially between the two groups colored with yellow(cohort 1945-1954) and green(cohort 1955-1964).
I have already tried the Z-test, but it did not sh... |
In the linked paper, in the influence function section, the term ${u_{\theta}(y)}{f_{\theta}(y)}^\alpha$ is directly called bounded which i do not get the explanation of? Here $\alpha > 0$ is the tuning parameter.
link
|
I have observation data covering a certain period of time. I follow a block-maxima approach where the data are segmented into equal time intervals .My goal is to first develop a Bayesian Hierarchical model. Secondly, running the same model structure for different time intervals.
For my type of data and the type of rela... |
My question is about proving the Lyapunov CLT (every mean is $0$, $\delta = 1$). It is similar to this question but without any assumption about the random variables following Bernoulli distributions.
The idea is to use Taylor's expansion:
$\psi_{X_1}(t) = 1 - \frac{1}{2}\mathbb{E}X_1^2t^2 - \frac{i}{6}\mathbb{E}X_1^3t... |
I am trying to test whether Covid-19 impacts the income of companies. For 10 companies, I have the income values for both December 2019 (before COVID) and March 2020 (During COVID). I also have the size of the companies for these two dates.
I have already run a paired sample t-test. Now, I want to check whether size mo... |
I have computed a (online) sample size calculation for mean difference between two groups.
The calculation was done with the following data from literature:
The website used for the sample size calculation is: Sample Size Calculator (https://clincalc.com/stats/samplesize.aspx). This gave the following calculation with... |
For those unfamiliar, Doc2Vec is referred to as a 'simple' neural network with one hidden layer that is built very similar to word2vec. As I understand it (in dbow, the implementation I am using), the document id is used to predict the words in a given context window from that document. https://en.wikipedia.org/wiki/Wo... |
I'm trying to find the dual function of this function (non-overlapping Group Lasso's penalty function):
$$ \mathfrak{h}: \mathbb{R}^p \to [0,\infty], \ a \mapsto \sum_{j=1}^{k} \left\| a_{\mathscr{A}_j} \right\|_{2}$$
where $\mathscr{A_1},\dots, \mathscr{A_k}$ are disjoint partitions of $\left\{ 1,\dots,p \right\}$, th... |
I am working on a Fay-Herriot model in a small area estimation problem
\begin{equation}
y_d = X_d \beta + u_d + e_d
\end{equation}
where $y_d$ is a direct estimator of a certain parameter $\theta_d$, referred to a certain small area / cluster $d$, $d=1, \ldots, D$; $e_d \sim N(0, \psi_d)$, where $\psi_d$, the sampling... |
The output here shows the titles and descriptions of the comments written for the evaluation of the top 100 books in amazon with nltk vader, and the total reviewer rating for those analyzes, but there is an imbalance between reviewer rating how can I statistically make sense of the data here 1: https://i.stack.imgur.co... |
I'm reading "ASYMPTOTIC NORMALITY OF MAXIMUM LIKELIHOOD AND ITS VARIATIONAL APPROXIMATION FOR STOCHASTIC BLOCKMODELS" Bickel et al. 2013. In their proof of Lemma 3, they claim a result and I can't find a justification for it.
$f(A,Z;\theta)$ is the density function of an exponential family member. We assume that $(A,Z)... |
This question stems from Section 2.1 of this VAE tutorial. The problem stated in the paper is to compute the data likelihood using law of total probability:
$$
P(X) = \int P(X,z) \,\mathrm dz = \int P(X \mid z;\theta) P(z) \,\mathrm d z\,.
$$
Paragraph quoted here:
For most $z$, $P(x \mid z)$ will be nearly zero ... T... |
What is meant by this notation regarding gradient boosting source:
$$
g_i = \partial_{\hat{y}_i^{(t-1)}} l(y_i, \hat{y}_i^{(t-1)})
$$
Is it the partial derivative of $l$ w.r.t. $\hat{y}_i^{(t-1)}$ , i.e.:
$$
g_i = \frac{\partial}{\partial \hat{y}_i^{(t-1)}} l(y_i, \hat{y}_i^{(t-1)})
$$
|
I was studying Linear Discriminant Analysis, and this general case came up which used Bayes theorem.
Suppose we observed response values of $Y \in \{0,1\}$ and predictors $X \in \mathbb{R}$. Suppose we didn't know their underlying distributions, but we generated them as $X|Y=0 \sim Unif(0,0.5)$ and $X|Y=1 \sim Unif(1,1... |
I have the dataset with the following situation. My dependent variable (Y) is decimal and has non-parametric distribution (shapiro test p-value<0.05) and the current variable has a determinated value with high frequency (score > 3.91 = 938, score <3.91 = 120) . I would like to perform multiple regression model to ident... |
I am currently researching fish survival analysis. The weight and number of live fish were observed until the end of the rearing period, and the number, weight, and timing of dead fish during the rearing period were observed. Accordingly, I wanted to create a fish survival model using the weight of the fish as a covari... |
I am running a k-means cluster analysis of textual data (k = 750) and the following is the plot of the silhouette score by cluster
I am trying to decide optimal k and I'm wondering how one would interpret this ...
I am unsure as to why it is so jagged?
because it is continually increasing (aside from the start, where ... |
Consider a random variable $r_t$ which represents the return of an asset at time t. In the univariate case, we just consider $r_t$ to be the return of a single security at time t. Generally, we assume $\mathbb{E}(r_t)=0$ for high frequency returns over a short time period (~1 day). Thus, we can 'standardize' this and d... |
I am trying to implement a Brain-Computer Interface system that should be able to differentiate between rest and movement trials. I am using motor-related cortical potentials for movement detection.
The method I am using is cross-session transfer learning via Riemannian Alignment on EEG data as described in Transfer L... |
In previous threads , parametric bootstrapping was suggested as a method to test for differences between time series at specific time points. I have followed the methods as described in this answer (see below for more specifics), however I am not sure which test to run after obtaining the parametric bootstrap samples ... |
When considering a chain of states from 0 to N in continuous time with constant up and down going transition rates, the jumping or waiting times are exponentially distributed. Now consider the following time dependent up rate and constant down rate,
$f_+(t)=α(1−e^{−βt})$
$f_−(t)=α.$
What is the best course of action to... |
In an assignment of time series analysis, I am asked to compare an intercept-only model with a slope model. I understand that the intercept-only model is just a regression model that only includes the constant term. But how about the slope model? I appreciate it if anyone could explain what a slope model refers to.
|
I'm doing a course in biostatistics and I came across this question to solve:
"Consider a two-year follow-up study of the association between a measure
of stress (dichotomised into two levels: high and low) and high blood pressure (D, dichotomised into two levels: normal and high). In the study, participants were treat... |
I am working with a large panel dataset studying many companies over a long period of time. Some of these companies receive a negative outlook from an analyst during the sample period. Similarly, some of the companies receive a positive outlook from an analyst throughout the sample period. Many other companies do not r... |
When I prepare probabilistic forecasts I am often left with a choice of what percentage highest-density region to choose for prediction intervals for clients. This matters for reporting uncertainty to the clients, but I think for many of them it is a difficult abstraction.
I feel like the elicitation should contain the... |
I have found a Python function that calculates the decomposition of various proper scoring rule, such as Brier score and log loss. However, it does not seem to accept arrays as arguments, so if I want to work with this function, I seem to be limited to binary outcomes...
...but I want to know about more than two catego... |
My data set contains information regarding the number of road accidents separated by gender, age, area, and other factors. Can I perform logistic regression analysis using this dataset to predict how likely it is for a person to crash given certain characteristics? I guess my confusion is because I do not have data sur... |
R has lots of support for Finite Mixture Models, as well as specialized packages for more specific Mixture Models for approaches such as Latent Class Mixed Models (lcmm package) and Growth Mixture Models (flexmix package)-- which I believe are effectively the same modeling approach.
https://osf.io/preprints/psyarxiv/m5... |
The organization I work for has collected data from individuals in multiple waves. Their goal was to collect 333 individuals in 6 different groups (genderXgroup). If the first Wave did not reach 333 individuals per group, they planned to collect additional data in a second Wave that utilized the same sampling design ... |
Hello I am learning how to decide whether a variable is a moderator or a mediator in R. For my knowledge, if the interaction term is not statistically significant, we need to consider the mediating effect of this variable. Or do I need to perform the mediation and moderation analysis at the same time and then make a de... |
I'm just now being introduced to likelihood-ratio tests (LRT), and I am having trouble following the concept and terminology.
For example, I posed a question about determining whether two samples {x} and {y} came from the same probability distribution, meaning that the distribution's parameter on the two variables samp... |
I'm currently running some experiments in web. The main idea is to validate the impact in some conversion metrics. The typical funnel we have is: Traffic -> Signup -> some Activation event.
Our metric of interest is the CVR of some Activation Event. Let's assume a:
Traffic -> Event CVR = 1%
Signup -> Event CVR = 25%
Th... |
I’m a Google Data Analysis Certificate student, at my capstone project now. I’m switching from a non-data background and I’m aware there’re vast amounts of what I yet need to learn. Therefore in addition to direct answers I would appreciate some must-reads on the topic. Thank you all in advance.
Context
I’m asked to fi... |
I am running logistic regression on sas. My outcome var is if student retained or not. One of my independent variable, if they attended first year oritentation is showing opposite result than what is should be.
Here is 2 by 2 table. upper columns indicate if they attended orientaion(1) or not attended(0). row columns i... |
I am working through "Variational Inference: A Review for Statisticians" by Blei et al. (see https://arxiv.org/abs/1601.00670) and they illustrate Variational Inference using a Bayesian mixture of Gaussians. However, I am lost when it comes to computing the expectations in the evidence lower bound (ELBO) which are supp... |
Suppose I have run a multiple regression model:
Y = B0 + x1B1 + x2B2 +..+ xnBn, weighted by w, from a dataset with such covariates and the weight variable of size N. Say there is another column in the data, categorical (a, b or c) and not fitted as a covariate but such that the N observations can be distinguished into ... |
The three major criteria for the quality of a measurement instrument are validity, reliability, and responsiveness. I understand validity and reliability, but I have trouble understanding the need to distinguish responsiveness.
As quoted in https://doi.org/10.1016/j.jclinepi.2021.06.002, responsiveness "refers to the a... |
ROC curve and the area under it (AUC) are routinely used to evaluate the performance of binary classifiers. However, it seems that both, the shape of the curve and the area, depend on the parameter adjusted.
Indeed, for an infinite sample, ROC curve is essentially the plot of probability of correctly classifying positi... |
I would like to find out if my dependent variable Y which is a measure of the similarity of two shapes to each other and has no normal distribution, is dependent on factors A, B and C. To do this, 4 people outlined 50 shapes based on 50 different images 6 times each. Hence, I obtained 300 shapes from one person. Each o... |
For example: YOLOv8 segmentation doesn't output any mask for concrete class if no masks was detected, but there is a mask for this class in the ground truth masks.
I should set metric to zero for such pairs?
|
I have four completely different sets of two samples and want to check for each set if both samples come from the same distribution, so four Kolmogorov-Smirnov tests total. If it's going to be relevant, two sets of distributions look normal, two are skewed.
The critical values table for this test gives alpha significan... |
Just on principle, do you think it would make sense to make linear regression models for each individual in a study and treat replicates as data points? I don't mean reporting p-values or anything like that, just for visualization purposes.
Specifically, it'd be a comparison of subjects exposed to treatments, say treat... |
I am studying the following paper:
https://jamanetwork.com/journals/jama/fullarticle/2698491
This is a cluster randomised control trial with crossover. I want to ensure they have not made a unit of analysis error which may inflate their effect size and artifically reduce their p value. I don't feel confident to judge t... |
Suppose that we simulate random $n\times n$ correlation matrices by assigning iid $U(-1,1)$ random variables to all off-diagonal entries and accept matrices $\boldsymbol\Sigma$ that are positive definite. The marginal distributions of each correlation coefficient are then obviously no longer uniform.
Based on simulati... |
I am conducting a study involving 70 participants diagnosed with Mild Cognitive Impairment (MCI) and 75 without MCI. All participants were engaged in taxonomic semantic, thematic semantic, and phonemic fluency tasks, where they were asked to articulate as many words as possible related to the categories ‘animals’, ‘sup... |
I have a very large dataset (500,000 examples, 3000 features with a lot of missing values). I want to run a random forest algorithm for feature selection with sklearn. Unfortunately, I cannot load the entire dataset. Is it possible to run random forest over chunks of the dataset? What other options do I have?
Thanks in... |
Consider $X_1, \cdots, X_n$ which are iid and have common pdf $f(x | \theta) = e^{-x+\theta}$ $(x > \theta)$. Why is $$\frac{f(x|\theta)}{f(y|\theta)} = \exp \left\{{\sum_{i=1}^{n} (y_i-x_i)}\right\} \cdot \frac{I_{(0,\infty)} \mathbf{x}_{(1)}}{I_{(0,\infty)} \mathbf{y}_{(1)}}$$
where $\mathbf{x}_{(1)} = \min x_i$?
Can... |
I am analyzing a dataset of cardiac echocardiographic exams, aiming to compare the diagnostic accuracy of a novel test in comparison to a standard one.
I have recognized that using Stata I can generate using the very same set of data (thus including 2 binary variables) a standard receiver-operating characteristic curve... |
I'm looking for some guidance on which type of t-test is most suitable to use for my data.
I want to compare the means of the variable 'Rate' between two groups in my data. I have 6 years of data and I want to split them into two periods and then compare the means of the two periods. Each year has a different sample si... |
I am trying to analyse some data in R that has one continuous dependent variable (x) and two categorical variables (sex: M/F, surface: D/V). My main goal is to understand if sex and surface affect 'x'. Biologically, I am interested in whether
male dorsal surfaces have more 'x' than male ventral (similar for females) a... |
My boss wants us to run a simple experiment where we manipulate the search results on our website. He is insisting that we must have counterfactuals for the results to be valid. The way I see counterfactuals is as a way to improve statistical power and more rigorously evaluate causality, so I'm not sure why the absence... |
I was looking replicate the results of the paper DOI:10.3905/jpm.2014.40.3.087 (Exploring Macroeconomic Sensitivities: How Investments Respond to Different Economic Environments, Ilmanen Maloney Ross 2014 Journal of Portfolio Management).
For example, I was looking to investigate if the monthly total return of US Treas... |
I am reading this paper which discusses the factors that affect the uncertainty (variance) in the performance estimation of a learner.
The authors say (p. 2, "The monotonicity of the learning curve of a learner"):
The true performance of the Tree Model will be varying around the point on the curve on the 90% x axis po... |
Is there a good method or test to find categorical variables associated with modes of a continuous variable?
Take the velocity of a car as an example. You would expect there to be at least two modes in the data (one for reverse and one for forward), but you could have more (park, 1st gear, 2nd gear, etc.). Let's say we... |
I am new to the field of survival analysis and looking for recommendations on how to deal with the following scenario:
I have data on patients suffering from a certain disease. Some patients receive the treatment immediately, others after some time, and others never. The longer a patient suffers from the disease, the l... |
Say that we have a GLM model with the following formula:
outcome = b1x1 + b2x2 + b0
and outcome is cost, x1, x2 are independent variables
Fitted using log link with gaussian distribution, so log normal. We would then have ratios of cost because we fitted it using log link function.
Would it be sensible to use that rati... |
In the post [here], the user asked the question
$\{X_i\}_1^n$ is random sample from $N(\mu, \sigma^2)$ with unknown parameters. Find an unbiased estimator of $\sigma^4$.
The solution uses a property of Normal Distribution, that of the fourth central moment is proportional to $\sigma^4$
$$\operatorname{E}[{(X-\mu)}^4]... |
I want to measure the the change in the relationship between one of my independent variables (gold price) and my dependent (conflict deaths) for my treatment post group. Any help would be greatly appreciated. My hypothesis is that in the treat-post group, the correlation coefficient between gold price and conflict is w... |
I have a database composed of n = 1000 observations of a variable to explain (y), an explanatory variable (x). The observations are grouped according to a variable "group", and I have only few observations per "group" (around 2), while the number of different "groups" is high.
I fitted a linear mixed model (with R lmer... |
Background
I'm validating a model and as part of the process I've been calculating SHAP values for different validation datasets.
I've calculated SHAP values for every sample in each dataset taken their absolute values, summed, and normalised them. This allows me to see their aggregate contribution to the model predict... |
The data are from an international study comparing participants' perceptions of how much more corporate CEOs make compared to unskilled workers (median ratios are used because mean ratios did not pass normality tests).
For example, participants in Russia (N = 1200) estimated that CEOs make 33.4 times as much as workers... |
NB: this is not about power analysis.
Consider the following table, which has the following row-wise proportions:
cat_1
cat_2
cat_3
cat_4
cat_5
cat_6
cat_7
A
0.3222449
0.302041
0.208163
0.089796
0.044898
0.028571
0.004082
B
0.111468
0.115756
0.118435
0.143623
0.182208
0.155413
0.173098
We know that:
the... |
I have dataframe df.
df <- structure(list(t = c("T1", "T1", "T1", "T1", "T1", "T1", "T1",
"T1", "T1", "T1", "T2", "T2", "T2", "T2", "T2", "T2", "T2", "T2",
"T2", "T2", "T3", "T3", "T3", "T3", "T3", "T3", "T3", "T3", "T3",
"T3", "T4", "T4", "T4", "T4", "T4", "T4", "T4", "T4", "T4", "T4"
), n = c(10L, 10L, 10L, 10L, 1... |
Question
Let $Z_i\sim\chi_{(1)}^2$ be i.i.d. chi-squared random variables with 1 degree of freedom. We define:
$$
W_{\infty} = \sum_{k = 1}^{\infty} \frac{Z_k}{2^{k}}
$$
I have interest in computing the distribution of this random variable and more specifically the probability $P(W_{\infty} > 1$).
References
This probl... |
I have two questions regarding modeling a 3-level multilevel model in R.
I have a dataset of different variables that were assessed 4x as part of a longitudinal study. At each of the four assessments that were 1 month apart, participants filled out questionnaires (= one mean score per participant per assessment) and us... |
I trained model using YOLOv4 on GPU, CUDNN and openCV (python) with AlexeyAB\Darknet with multi-label on windows environment. These labels are 25 classes (from 0 to 24). Then I test the model and I got this report as shown .
I confused about the numbers that colored in yellow, blue and red that appear in the report (de... |
I’m running the following regression model, where MR is a continuous predictor and grade, gender, and race are all categorical.
DV~MR + grade + gender + race
I’m also interested in how the 3 categorical predictors might moderate the effect of MR on the outcome measure. I'm not interested in how grade, gender, or race i... |
I understand that the mutual information between two vectors X, Y from two distributions gives a measure of uncertainty of X knowing information about Y. But is it possible to measure mutual information between a vector X and its mean E(X)? Is there a way to do it using R?
|
This is almost certainly a fatal misunderstanding of mine / knowledge gap but I am confused as to how to interpret the population parameters of a Bayesian Hierarchical model.
This is incredibly artificial but to demonstrate the point let's say we wanted to fit the following model + priors:
$$
\begin{align}
X_{ij} &\sim... |
I am wondering how this paper Bayesian Regression Tree Ensembles that Adapt to
Smoothness and Sparsity by Linero & Yang (2018) derived the acceptance probability for $\sigma$.
The authors give $\sigma$ a half Cauchy prior, $\sigma \sim \operatorname{Cauchy}_{+}(0, \widehat{\sigma}_{\text {lasso }})$. To update $\sigma$... |
I have longitudinal data from a two-group RCT in which the primary outcome was assessed at baseline, each week during the intervention, post-test and 5-month follow-up (6 times total). I am modeling the data in R (lme4) as a piecewise mixed effects model with T1 - T5 (post-test) change modeled as a random slope (first ... |
I'm confused about the matrix notation of the loss function in ordinary least squares regression. In matrix form, the expression for a linear model is:
$$\hat{y} = Xw$$
Where
$\hat{y} \rightarrow$ prediction vector for feature matrix $X$
$X \rightarrow$ feature matrix with each feature as a column and each row as an ... |
I am trying to know what is the most simple model for time series data, with exogenous variables. What is the most simple framework I can use ? Is it possible to build a model more simple than ARIMAX, ECM, VARX or ARDL, and, specifically, a model without any AR or MA component ?
I imagine something just as simple as :
... |
I am completing a meta-analysis of the sex differences in athlete ECGs. I have included studies that only talk about one sex to broaden the amount of data included. Is there a way to meta-analyse female vs male data when not all the studies have female and male participants?
There are both continuous and dichotomous va... |
We want to know whether two sample sets {x} and {y} were drawn from the same distribution. The null hypothesis $H_0$ is that they are. As statisticians we test the hypothesis by calculating the p-value: the probability of observing those sample data if the null hypothesis is correct.
As statisticians with computers w... |
Below is the output of a glmer:
Generalized linear mixed model fit by maximum likelihood (Laplace Approximation) ['glmerMod']
Family: Gamma ( log )
Formula: FrameDelay ~ Group + Session + Group:Session + cs.Age + cs.Years + Group:cs.Years + (1 | PID)
Data: ufov
AIC BIC logLik deviance df.res... |
I have the following data:
## # A tibble: 525 × 8
## Subject Group Type ISI Label MeanEMG MeanRRA MeanRRA2
## <fct> <fct> <fct> <dbl> <fct> <dbl> <dbl> <dbl>
## 1 17 HC BL 0 HC BL 41.4 1 1.28
## 2 17 HC BL 4 HC BL 67.8 1.64 2.09
## 3 17 ... |
If we work on groundwater data, if the data is not normally distributed, can we apply geostatistics on this data without transforming it to normal distribution?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.