instruction stringlengths 9 38.7k |
|---|
I am trying to derive the results in Opper and Archambeau, 2009. In the paper, they show that the variational free energy is the following (Eq. 3.2)
$$
\mathcal{F} = \sum_n \langle -\ln \left[p(y_n|x_n) \right] \rangle_{q(x)} + \frac{1}{2}\text{Tr}(K^{-1}\Sigma) + \\
\quad \quad \quad \frac{1}{2}\mu^\top K^{-1}\mu
-\fr... |
I see that people usually implement pscore matching or control for pscore fixed effects. Why do I need to do pscore matching? Why can't I just include pscore as a continuous variable in my regression as follows?
$$Y_i = \alpha + \beta D_i + \delta p(X_i) + \epsilon_i$$
Why do I have to run:
$$Y_i = \alpha + \beta D_i +... |
Do I really need a transformer-based language model if I want to instruct a robot very simple task?
Suppose I give an instruction like "Go to the right and pick up the book from the table".
I am confused because the language models are generative but the above instruction is pretty straightforward and the robot does no... |
For my job I'm sometimes asked to find the driving factors behind a healthcare outcome such as total annual cost or # of inpatient visits.
"Driving factors" typically means reporting average effects for various variables (age, sex, socioeconomic factors, medical diagnoses) estimated from linear regression or GLM coeffi... |
I have some data with some relations which I would want to visualize.
Background
The data I have has the following fields:
Current value: CV
Value in 50 seconds: V50
Predicted Future (50s) Feature: P50
(Notice that the first two are the same feature just at a different time, the third one is a different feature: so... |
Given samples from two Rayleigh-distributed random variables with unknown parameters, $X \sim R(\sigma_x), Y \sim R(\sigma_y)$, what tests can we use to determine if and to what extent their parameters ($\sigma_x, \sigma_y$) are different?
For Rayleigh variables we have a closed-form unbiased MLE for the parameter $\si... |
For weighted OLS, the objective function can be written as
$$
\arg \min_{\beta} ||W^{0.5}(y - X\beta)||^2
$$
This is quite similar to the objective function for plain OLS, except without the $W$ term:
$$
\arg \min_{\beta} ||(y - X\beta)||^2
$$
Now my question is how do we write the analogous weighted forms for weighted... |
Assume there's a network with audio and video call classes. Audio call requires 1 channel (b1) and video call classes requires different channels based on the video call type (V_low=2(b2), V_med=3(b3), V_high=4(b4)). Cell size is 5 (C), Voice call arrival rate is 20 calls per hour and video call arrival rate is 0.4 cal... |
In a survey I want to do I have the following problem: I have 20 clusters, and I need to choose 5. Each cluster has 10 observations, and I need to choose 2.
Lets say that the probability of choosing a cluster is uniform and independent (1/4), and the probability of choosing an observation is uniform (1/5). Then, if I w... |
This answer (currently 89 upvotes) states:
AIC is best for prediction as it is asymptotically equivalent to cross-validation.
BIC is best for explanation as it is allows consistent estimation of the underlying data generating process.
However Model Selection and Multimodel Inference by Burnham and Anderson se... |
I am confused about calculating degrees of freedom for external validation of a clinical prediction model. The calculation for sample size is as follows:
We will include 4,875 patients. The recommended sample size for validation studies is a minimum of 100 events and a minimum of 100 non-events. During derivation, the ... |
I'm doing a kalman filter and I need to sum two covariance matrices (Q1 and Q2) regarding two uncertainties I need to join. I'm tracking the position of an object from a referencial with a changing position and orientation. As the position of the moving referential also has an uncertainty, it also has a covariance matr... |
Let $X_1,...,X_n$ has a Gamma$(\alpha,\alpha)$ distribution. Find the minimal sufficient statistics. Is this a complete family?
My attempt: I found the Minimal sufficient statistics is $T(x)=(\sum_iX_i,\prod_i X_i)$ and I guess that this family is not complete because the parameter space has a lower dimension than the ... |
Model Selection and Multimodel Inference by Burnham and Anderson notes that TIC, AIC, AICc and QAICc are based on K-L distance between a given model and true model. Also BIC is in a sense based on such a distance (1 if and only if the model is equal to the true model).
Elsewhere in stats, people are explicit about loss... |
I'm running a project on survey data where I have a bunch of very similar operationalizations of my DV (four different indices of my DV). Let's call it support for X behavior. All of them are normalized via min max normalization (if that's relevant). Because I only have so much space in a paper, I've been told it may b... |
Regarding normality assumptions for model evaluation I have been told by my supervisor that it is not needed in the case of analyzing but is needed in forecasting only. i am looking for an explanation.
|
In this post, an unbiased estimator for the standard deviation of the standard deviation under normality is provided.
I would be interested in such an estimator without the normality assumption, i.e., the standard deviation of the standard deviation for arbitrary distributions.
|
The problem goes thus:
${\{X_n\}}$ is an $iid$ sequence of random variables with mean 0 and variance $\sigma^2$. If the third moment is finite, show that $$\lim_{n \to \infty} \mathbb{E} \left(\left(\frac{S_n}{\sigma\sqrt n} \right)^3\right)=0$$ where $S_n=X_1+X_2+\cdots +X_n$
Seeing the $\frac{S_n}{\sigma\sqrt n}$ ... |
in the article Learning Spatio-Temporal Features with 3D Residual Networks
for Action Recognition, it says that for choosing the samples for training from videos:
We first select temporal positions of each sample by uniform sampling.
16 frame clips are generated around the selected temporal positions.
I want to under... |
Let $U_1, U_2,...,U_n$ be a sequence of independent random variables with Uniform distribution over the interval $(0, 1)$ and let $Y = -\frac{1}{\lambda} log(U_1)$ . what is the distribution of Y? i have a feeling this is exponential because I think Y can be seen as an exponential quantile. how to prove this result ... |
Imagine we have an experiment, where each subject consumes 2 out of 3 different kinds of chocolate bars (Mars, Snickers, Bounty) and we measure blood sugar subsequently, that is, after 2 of the bars have been eaten (the order of type of first and second is neglible in this problem) . We want to use additive model to me... |
I have a dataset where two teams generally compete against each other. For each team, I've gathered demographic characteristics such as the percentage of males, the number of males, average age, percentage of whites, and the number of whites, along with a binary variable (1 or 0) indicating whether a team won a competi... |
I have done this PCA analysis and found the score values. Now I want to do another analysis on this data to see that PC loaded in which "Region" (column 1). Now used a NMDS plot using Bray-Curtis distance but it didn't work because of negative values in my data and Bray-Curtis does not accept negative values. Now which... |
In regards to optimal design, specifically sequential design or active learning for parameter inference (e.g. linear regression). As I understand it, Bayesian D-optimal design maximises the expected information gain (the mutual information), within a Bayesian framework - that is we are including the prior, and likeliho... |
This might be a very basic question, but it seems that in all the examples I've seen, the inverse sampling method (i.e., input uniform RV into the inverse of CDF of desired PDF/probability distribution), is usually done for 1D random variables.
This doesn't seem to be very easy for higher dimensional settings, i.e., ra... |
I am thinking of using machine learning type classification models to compare them with the traditional approach of logistic regression (dichotomous outcome) in a sample of patients with diabetic foot where the dependent variable (y) would be the level of severity of diabetic foot: low (reference) , high(1). Then, it w... |
In ecology there is a simple index for measuring diversity known as the Simpson index. In it simplest formula, it takes a series of proportions, representing the relative abundance (number of individuals) of each species.
$$ D = \frac{1}{\sum_i^N p_i^2}$$
As these relative abundances, they all sum to 1, so $\sum_i^N p... |
I'm working on a time series prediction task where I need to predict the parameters (amp, phase, freq, offset) that best fit a variable-length input series. The samples are always at the same period.
Here are the key details:
Input Data:
Variable-length series.
Consistent sampling period.
Parameters to Predict:
Amplit... |
I was wondering whether there are papers covering the possibility of conducting a DiD analysis with no aggregation group.
I am tryng to highlight the impact of a reform on a set of health outcomes, my data come from a US health survey. I divided the individuals into treated and controls but I so not have any aggregatio... |
I want to compute power analysis for cross-lagged panel model with random intercept using powRICLPM package (Related publication)
Authors of the package did a great job and the power analysis seems to be quite straightforward. However, it is not explained how to estimate the Phi matrix.
Phi refers to a matrix of lagged... |
I have an (unbalanced) panel dataset with 20 countries, 57 years, and 8 variables, and I would like to cluster the countries according to their dynamic trend in these variables (whether using kmeans or hierarchical clustering does not matter).
I have seen this question and this paper which try to assess the issue but ... |
I am conducting an analysis to compare the similarities between different images across early and late layers in a CNN. The model I am working with is the pretrained DenseNet121 that comes with pytorch. My procedures are like this:
Register forward hooks on features maps transition1.norm, transition2.norm and transiti... |
In R, you can easily get the standard error of a linear regression prediction.
I want to know how that SE is actually calculated using the standard errors of the slope and intercept.
Let's say we have the following X variables:
x = c(3,4,6,10,8,7)
y = c(2,5,4,9,7,9)
n = length(x)
model = lm( y ~ x )
summary(model) # th... |
I have a dataset of questions from 5 different categories C1, C2, ... C5. Let's say the number of questions from each category has a different size say N1, N2,..N5, and sizes are large. I need to manually analyze these questions' answers to have a say on criteria like whether they are accurate or not, complete or not, ... |
In my use of XGBoost with the gradient-based method, I inadvertently set subsample to 0, yet it surprisingly returned a good result.
I am not sure how to explain it well. Any idea from the community?
|
My question contains a few variations; I apologize for this in advance.
I have two groups, and I have four outcome measures. These outcome measures are assessments of pain, function, depression level, and quality of life. I want to analyze the difference between the groups on the outcomes before and after a treatment w... |
I have an outcome which is a total score from questionnaire. It ranges between 0 and 100 in steps of 2. I have small sample size of 40. I want to look at the effect of hearing loss (yes/no) on this total score. I am wondering whether a linear regression is appropriate for this type of outcome? I need to mention that I ... |
I'm dealing with a statistical problem, where I tested a bunch of hypotheses with a very strong positive dependence within certain groups of them. Many of them didn't lead to significant results.
Now, the pure number of those positve-dependent insignificant results leads to all other null-hypotheses being accepted as w... |
I am trying to perform an ARIMA (SARIMAX in fact) and when looking at the residuals I see a large outlier. I am using python statsmodels.tsa.statespace.sarimax.
I have two data series of equal length. There is no voluminous increase in either data series at the start.
Sample:
endog = [-3.6055070639, -3.5962072768, -3.... |
I have a standardized index, $x$ (variations in s.d.) and I want to regress my dependent variable, $y$ on it.
In my dataset, the index ranges from approximately -2 to 2, but there is no constraint.
From a theoretical point of view, the higher the index, the higher should be the value of the dependent variable. So, I co... |
I am attempting to perform a multilevel mediation and found this page online with an example:
https://stats.oarc.ucla.edu/r/faq/how-can-i-perform-mediation-with-multilevel-data-method-2/
It follows a method laid out in a paper by Bauer et al. (2006): Bauer, D. J., Preacher, K. J. & Gil, K. M. (2006) Conceptualizing and... |
I want to do a SEM analysis with an actor-partner interdependence model in Mplus. I managed to calculate it and everything seems right if I look at the means, SD's, effects, etc. But I have a problem with the model fit.
The fit indices are weird, and too good... So there must be something wrong with it. I read that if ... |
I have two datasets containing size measurements. The initial dataset originates from six different aliquots drawn from a large batch of a product (a suspension with particles). Each sample was individually transferred to its own vial and subsequently measured three times (yielding three replicates per aliquot). The me... |
I am reading the paper Exponential Dispersion Models from Jørgesen and at page $137$ I have encountered a claim that I don't know how to prove.
The author claims that the Generalised Pearson Statistic, defined as $(y-\hat{\mu})^T V(\hat{\mu})^{-1}(y-\hat{\mu})$, and the Deviance $D(y,\hat{\beta})=2\big(\sup_{\theta\in ... |
Using the usual matrix notation for Ordinary Linear Regression, suppose for $X_{n\times p}, Y_{n\times1}, B_{p\times1}$ and $e\sim MVN(0,I_{n\times n})$, we know the 'true' relationship is:
$$Y=XB+e$$
But suppose we fit a linear regression using only a subset of the true predictors, so suppose we block off $X$ and $B$ ... |
I have a pretty large experiment where we are looking for differences in gene expression in RNA sequencing experiments. We are using EdgeR's GLM functionality, and then using contrasts to look for differences between groups. We are unclear on the most reasonable way to form powerful, informative contrasts that take int... |
I have been studying Kernel estimation; in particular, the Nadaraya-Watson estimator. I am interested in studying the rate of convergence in L^p of the NW (or similar) estimators for subgaussian variables. In other words, I would like to study the following problem.
Let $(X,Y)$ be random variables in $\mathbb{R}^d$ wit... |
I have $3$ predictors:
$1$ binary (prenatal alcohol exposure)
$1$ categorical with $4$ categories (drinking patterns e.g., light stable, heavy reducer)
$1$ continuous (total drinks consumed during pregnancy)
$7$ sleep outcomes
I have run $21$ linear mixed models. I want to conduct FDR correction on
my resulting $p$ v... |
I am trying to do a difference in difference model to compare two cities' police departments' uses of force after treatment from a consent decree. When I run the model with clustered standard errors, I get a significant t statistic for the treatment variable, but also a very high p value. I am newer to statistics, so I... |
I am learning Markov Chain Monte Carlo (MCMC) simulation as of the moment. My background is civil engineering and please excuse my ignorance if some of the questions are quite obvious.
I want to learn MCMC and implement it into my matlab code. To test my understanding, I want to perform an MCMC with an analytical solut... |
I have some environmental data collected over 4 different years. I'd like to analyses the change in the proportion of responses of good/very good condition over time in r.
Just comparing either good/very good vs. fair/poor over the four years.
2010
2013
2017
2022
Very good
37
34
30
31
Good
42
41
43
40
Fair... |
Good morning
I should start a meta-analysis but I am facing with a problem of extracting/combining data from one study.
I am comparing A versus B population in terms of overall survival. The study reports HRs of subgroups of my populations, that could be easily split, reporting the subgroup HRs having as reference one ... |
I have a very small sample size in one group and cannot perform statistical analysis. Is there any other way of performing analysis by artificially generating data and then presenting the results of both??
I have read about data augmentation, but valid is it?
|
I'm trying to analyze some sleep data from kaggle (this example data does not have correct temperature data but the actual data I will use in the future will have precise temperature) to try to find the temperature value that gives the best sleep quality.
At first I thought of trying some linear regression between slee... |
I'm analyzing an experiment where the strength of the treatment varied by treatment day in an uncontrolled way. Specifically, we tested the response time of 11 non-overlapping groups honey bees on 4+ days, each. On any given day, only one group was tested under two experimental conditions: first unfed, then fed. How mu... |
I'm quite new to this type of statistical analysis, so apologies if the question comes across as silly. I'm currently fitting a mixed lmer with two categorical (condition and outcome; each with 2 levels) and one continious predictor. I found a three-way interaction between them that I wanted to explore with the emmeans... |
Reading the wikipedia article on Cross-validation there is an example given for linear regression which contains the statement
If the model is correctly specified, it can be shown under mild assumptions that the expected value of the MSE for the training set is (n − p − 1)/(n + p + 1) < 1 times the expected value of t... |
I'd appreciate some advice specifying a mixed effects model using the lme4 package in R.
I have pre-, post-(1 month after the pre-assessment), and follow-up (3 months after the pre-assessment) measurements on 120 participants. The participants were randomly assigned to either the control or intervention group.
My hypot... |
I conducted a two-factor experiment with 3 replications on flower diameter under nutrient treatments. I got the data that look like this:
Factor A
Factor B
Replication
Flower diameter (cm)
A1
B1
1
2.2
A1
B1
2
2.3
A1
B1
3
2.2
A1
B2
1
2.1
A1
B2
2
1.9
A1
B2
3
1.8
A2
B1
1
1.6
A2
B1
2
1.3
A2
B1
3
1.3... |
Set Up
It's about finding out which formulation (concentration in percentage) and soaking time of formulation yields to a better measured outcome.
In the table below, Minutes represent soaking time while the Percentage columns represent the different formulations and its elements being the measured outcome. Then lastly... |
In the context of optimizing loan advance decisions for customers with gold loan history, I aim to establish threshold values (x and y) to categorize customers into four groups based on loan count and amount. The goal is to prioritize customers with a positive history to give them higher advance. Groups are divided in... |
Apologies if it is a stupid question or has been asked before or I have phrased it the wrong way, but I have been looking for an answer for days and I could not find anything - so any help will be greatly appreciated!
I am working with community ecology data and I have time series data showing the species abundance ove... |
The following shows part of the page 169 of The Element of Statistical Learning that I want to make clear.
We have
$$\min_{f \in \mathcal H_K}[\sum_{i = 1}^NL(y_i, f(x_i)) + \lambda\Vert f\Vert_{\mathcal H_K}^2].$$
It can be shown (see Exercise 5.15) that the solution is finite-dimensional, and has the form
$$g(x) = \... |
In the field of psychometry, Classical Test Theory "CTT" presumes that in a test the observed test score is the result of the true score + error score. The last is thought to raise due to noise, i.e. factors other than the measured entity that affects measurement of that entity. Now, according to CTT if we repeat a tes... |
Introduction
I find the independent sample t-test to be one of the most misunderstood concepts in statistics. It is used to test for a difference between two population means by comparing the hypothesized difference between the two population means $(\mu_1-\mu_2)$ with the observed sample mean difference $(\overline{... |
I sampled three different rivers over one year during the four seasons. In addition, in the autumn and winter seasons I sampled both during an event of high (drought period) and low water (flood period). I have 3 categorical variables (river, season, event) and 11 continuous (environmental parameters, like oxygen, temp... |
According to to G. Cumming and S. Finch in their paper "Inference by Eye" the 95% confidence intervals of two independent means can overlap and the difference between the two means can still be significantly different from 0. They found that at approximately 58% overlap the p-value of the t-test changes from significan... |
For example, if I want to determine the effect of rain on daily traffic volume. I would include a binary variable whether or not it rained, and a continuous variable for the amount of rain. Would this be redundant?
|
I have the following time series that I would like to forecast using a Recurrent Neural Network.
You can download the csv file from my github here
The task I want to solve is the following
Given a window of the last $n$ observation, forecast the next 2 values of the series.
In order to solve this task, I need first ... |
I have helped to validate a new psychological scale and after conducting exploratory and confirmatory factor analyses, we have found the best fit for the scale is a 3-factor structure. The factor loadings between factors range from 0.28-0.56 and when a second order factor is added to create an overall factor, one of th... |
I'm working on evaluating an intervention using an interrupted time series approach, and one of our hypotheses involves evaluating its effect on between-individual variation. I'm using lme4 to fit models for the aggregated binomial outcomes we are looking at, and I figured that one approach would be to fit separate ran... |
In trying to understand the bootstrap method, I have taken a sample of 11 observations from a Poisson distribution with a mean of two. I have obtained the following sample:
Assuming I do not know the true distribution, I want to use bootstrap to estimate the confidence interval of the mean. I take one million bootstra... |
I have a neural network and I need to calculate the following:
$$\mathbb{E}_{P(\theta|D)}[f(\theta)]=\frac{\sum_\theta P(D|\theta)P(\theta)f(\theta)}{\sum_\theta P(D|\theta)P(\theta)}$$
Where $f$, generally, can be any function, $\theta$ is the parameters of the neural network, and consequently, $P(D|\theta)$ is define... |
I am looking for reference books/online material for self-learning the mathematical background in active contours and segmentation models (e.g., snakes, level set, geodesic). Can someone help me with hints?
|
I have a question concerning he Mediation R package concerning the interpretation of the estimates.
I'd like to interpret the results of the Mediation package output. Let's say I have a binary mediator and a binary outcome and the ACME (average) estimate is 0.016 (p<0,05). How can I interpret this estimate?
According t... |
Apologies for the basic nature of this question. I have collected data before and after an intervention and assessed response to the intervention using a survey. This was a basic survey using a 1-5 scoring system before and after the intervention.
I received 9 survey responses prior to the intervention and 5 responses ... |
My Little's MCAR (missing completely at random) test on 12 items revealed
chi-square = 138.281, DF = 84, and sig. = .000. (SPSS Output)
I wonder if I can conclude that the data were not missing completely at random since the p-value is highly significant (<.05)?
And, is there any issue with my p-value being p=0?
The va... |
As far as I know, when fitting a GLM, the fitted model should always have a higher likelihood compared to the null model (with only an intercept) for the same training set. When I run a small simulation, I encounter cases where the opposite happens. What can be the explanation?
Tt comes down to the use of the dispersio... |
In my line of work, we often hypothesize that one continuous predictor will have a stronger relationship with some outcome than another closely related (i.e., collinear) continuous predictor. We fit a multiple regression $y = a + b_{1}X_{1} + b_{2}X_{2}$ and start by checking to see if $b_{1} > b_{2}$. If it is, then y... |
For a two-sample effect size calculation on paired data (or a one-sample test on differences), does it make sense for an effect size to be negative for a hypothetical % increase of a mean? I’m doing a one-sided test. I have seen 2 versions of the mean difference and I’m not sure if it changes depending on an increase/d... |
I have a system with multiple states (N) that can transition from one state to another at every discrete time increment, or stay in the same one. I want to obtain a good estimate of the transition probabilities of the system.
I have some data that allows the creation of a transition matrix, treating the problem as a Ma... |
Consider data generated from a model $Y = \alpha A + \beta U$, where $U$ is a confounder, i.e. $\langle A,U\rangle \neq 0$. We don't measure U, but rather a noisy version of it, $U' = U+\epsilon$, where the entries of $\epsilon$ are Gaussian(0,1). We fit a regression model,
$$Y = \alpha' A +\beta' U',$$
and obtain an e... |
I am following [Greifer 2023][1] to estimate the effect size after (genetic) matching, where I am using bootstrapping to estimate the confidence intervals. Since I have a hierarchical setup with repeat measures (harvests) from fields and fields nested within sites, a frequentist approach (using lmer) resulted in a sing... |
In transformer training, the activations have three dimensions: batch, feature (i.e. embedding) and time (i.e. token). Layer normalization is applied, calculating statistics (mean, standard deviation) and using them to standardise the activations before using learned parameters to scale ($*\gamma$) and shift ($+\beta$... |
I have a dataset of patients who underwent an operation, and I collected information on post-surgery complications such as necrosis (binary outcome variable). Now, I would like to investigate whether independent variables such as age (continuous), gender (binary), or underlying disease (categorical) influence the likel... |
I have the following astronomical data
data1vcoord =array([[ 709.4497, 1500.3387, 1573.9434, 292.9126, 930.4643],
[1423.7768, 1242.1892, 407.6168, 346.3528, 541.8568]])
data10vcoord=array([[ 718.5531, 1505.431 , 1579.0752, 298.2245, 935.6432],
[1379.5269, 1236.0935, 401.8907, 341.7608, 535.6279]])
which are c... |
Suppose you run an experiment where the treatment is Gatorade and the outcome is one-mile runtime. You’ve stratified on variables such as sex, height and weight so they’re well randomized and have no correlation with the treatment. Terrific!
Now suppose that you’re interested in runtime and sex (using a categorical var... |
I hypothesise that the higher the outdoor temperature, the higher the surface temperature of the building envelope, which should also translate into the detection of higher surface temperature on the other side of the surface (eg: temperature measured on the outer vs inner side of a wall). I have collected temperature ... |
My understanding is that fractional polynomials and restricted cubic splines serve similar purposes. However, cubic splines are much more widely used outside statistics, and I have a better (mathematical) intuition for them. And indeed, there are currently 14 questions here tagged [fractional-polynomial] and 600+ tagge... |
Suppose a gun is fired at the bullseye of a target a specific number of times.
Ignoring the accuracy (e.g. all the shots are well to the left and above the bullseye), is there a standard way of expressing the precision (i.e. how closely they cluster together) and the confidence of that value (based on the number of sho... |
I'm conducting some simulation analysis under different correlation structures where H0: absence of interaction component in the model.
I computed type 1 error rate under the null hypothesis at some instance, and I saw that the type 1 error rate is inflated. Assume that the expected value is 5%, and I got type 1 error ... |
Given that:
$$
\text{Corr}(Y, X_1) > 0 \\
\text{Corr}(Y, X_2) = 0 \\
\text{Corr}(X_1, X_2) > 0
$$
Consider 2 regressions:
$$
Y = a X_1 + \epsilon \\
Y = b_1 X_1 + b_2 X_2 + \epsilon
$$
Which one is bigger, $a$ or $b_1$?
The answer should be $a < b_1$. Intuitively, I would answer this using "Regression by Successive Ort... |
I am wondering if the self-correlationess in X of the linear regression will impact the estimation or the t-statistics of the coefficient? For example, we have a linear regression model Y(t) = a1 + a2*X(t) where X(t) can be written as X(t) = M(t) + M(t-1) + M(t-2). we can assume Y(t) and M(t) are IID random variable. I... |
I am looking at a single arm clinical study with a small sample size (n=14), where each patient was assessed 5 times (weeks 1-5, once a week). I have constructed linear models to see if the change-over-time is significant and then looked at the QQ-plots to assess normality of the residuals. They sort of look normally d... |
Suppose we are interested in the percentage effect of a binary $D \in \{0,1\}$ on an outcome $Y \in \mathbb{R}$, which might motivate a simple regression of the form:
$$ \log Y = \beta_0 + \beta_1 D + \epsilon $$
Since $\beta_1$ may be interpreted as the marginal effect of $D$ on $\log Y$ (which is not very helpful), w... |
So I'm having some trouble deciding how to format the repeated measures in my model. Basically deciding between:
Glm1<- glmmTMB(InsectAttacks ~ Treatment + Week + (1|Tree), family = nbinom2)
Glm2 <- glmmTMB(BeetleAttacks ~ Treatment + Week + (1|Tree/Log), family = nbinom2)
I'm testing the efficacy of an insect repe... |
I have 5000 docs, each is a review. For each review, I'm plotting the sentences in a semantic dimension. Now, I'm applying clustering to these points for each review. The success of my model depends on how well these points are clustered. I'm looking for any clustering algorithm which can learn hyperparameters/paramete... |
Imagine that prior to the time of Copernicus, scientists could run machine learning algorithms (somehow).
Would it be possible to discover the truth of the geocentric model with their use?
Would the machine learning algorithms assist in discovering Kepler's laws of planetary motion?
Would they be beneficial for Newton ... |
I am trying cluster a trajectory, consisting of (state, action) sequences, by assigning them to the most likely model that generated them using Chinese Restaurant Process. Basically my goal is to infer $\rho_{ij}$, which represents the probability that $i^{th}$ trajectory was generated by $model\ j$ and learn parameter... |
I have a Gibbs sampler that is mixing terribly slowly. I have a hunch that if I sample a parameter pair as a single block, it would improve convergence.
I tried HMC within Gibbs, but it's also slow. I need many leapfrog steps to have a truly independent sample, about 10,000, and each leapfrog step takes about 5ms.
My n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.