instruction stringlengths 9 38.7k |
|---|
I dug through previous simple slope/effect questions and couldn't find what I was looking for, but happy to be pointed to it if it exists.
On p. 17 of Jaccard and Turrisi (2003), they offer the following basic example of a regression equation with a single interaction term:
$Y= a + β_1X+β_2Z+β_3XZ+ε$
They explain how t... |
When changing the model to a more sophisticated do we ALWAYS need to change the design experiment and/or collecting more data?
For example, after fitting a multiple linear model to the data, I checked the model fit by plotting the ordinary residuals (the residuals without normalization) vs. the fitted values and found ... |
I have a conceptual question to ask that may come off dumb, but I'm just trying to see if I understand A/B testing properly as I've only studied it but not worked much in practice.
Let's say we are running an A/B test on ads on some mobile app on a homepage. This experiment tests some UI change, and we are concerned wi... |
I was reading Yarin gal's Phd thesis regarding the use of dropout as a technique to turn a neural network in a bayesian neural network.
at page 32 of the pdf (18 for the thesis) he writes that the probability distribution for the output $y^* $ for a new input point $x^*$ can be obtained by integrating over the space... |
I am currently working on my master thesis. I have determined a simulation model for tax returns and to verify this I would like to use true values.
I would like to determine the correlation between my simulated and true values. However, the problem is that I have simulated zero values for some years and the true value... |
I'm working with a dataset in which each row is an event with a number of categorical properties, most of which are also nominal. Each of these properties has around 5-10 possible values, but some columns can have more then 200. There is a column which denotes if an event had a positive, negative or neutral outcome and... |
I have a set of documents like a list of memory register information, a list of pinout information and so on, for different types of equipments that are installed in different facilities.
Each facility may have 5 equipments of different types.
It sums up 60 facilities in total and so far I have created one set of these... |
I noticed that if you have a simple mediation model X -> M -> Y where all three variables are latent, AMOS doesn't complain and I can have a good fit, well-identified model.
However, when I replace X with an observed variable, the model becomes unidentified and I am required to add one constraint.
Among all the things ... |
A validation report of an analytical method (to determine the assay of a product) is given and the goal is to try to determinate the overall uncertainty of it. I started with calculating the standard error of the precision of the method. The precision can be usually decomposed in three parts: the intermediate precision... |
I have data with income information provided in grouped, income ranges.
However, for my research purpose, I want to estimate a continuous distribution, in other words from the shares of each income-range, I then want to derive a possible underlying continuous distribution. For this purpose, I was thinking to fit a gene... |
I have a dataset with two columns; one is the total time played by a player on a gaming console and the other is the time played online which will always be less than or equal to the total time played by the player. The data looks like the following
I was asked to take the mean by dividing the sum of online playtime h... |
I just had a quick question about the CIA, conditional unconfoundedness and secelction on observables only. Do these three terms mean the exact same thing or are there differences between the three?
|
I'm reading:
Clauset, A., Newman, M.E.J., Moore, C., 2004. Finding community structure in very large networks. Phys. Rev. E 70, 066111. https://doi.org/10.1103/PhysRevE.70.066111
There is written that in an (what I think is undirected, but I might be wrong) network,
The probability of an edge existing between vertices... |
I have a problem statement where I have two dataset one labeled where a data point can belong to only one class say class1 or class2 and there's another unlabeled dataset. Now for unlabeled dataset I want to predict the class label where a particular data point can belong to class1 or class2 or both or none of the clas... |
I'm conducting regression analysis using R of the ability of several hundred proteins (and other covariates) to predict ventricle volume in a human sample. As is common in GWAS/PWAS research, I plotted the expected vs. observed p values of each protein to check their overall distribution. As the plot below shows, there... |
Firstly, my apologies for the basic nature of this question. I am numerate but stats has always befuddled me. I have had a look through earlier questions.
I have installed a red mason bee box. It has 174 tubes of 3 different types - sleeved 87, empty 44 and plugged 43. Currently the occupied tubes number, sleeved 7, em... |
Proper scoring rule is a concept used for evaluating density forecasts. What would be an equivalent for evaluating point forecasts? E.g. mean squared error seems like a proper metric for evaluating forecasts that target the expected value of the underlying random variable. This is because the forecast that truly minimi... |
I'm developing a GNN for missing links prediction following this blog post for PyG library. I'm using almost the same GNN with a different dataset. Altough my dataset is similar to the MovieLens example (a bi-partite graph with some links and some missing links, with different features), I want to develop a more precis... |
When I run a logistic regression using sm.Logit (from the statsmodel library), part of the result looks like this:
The variable y is academic success (average greater than 10). The problem is that I am lost in front of this table (there is only the beginning), I do not know how to interpret the results. In the coef co... |
In an experiment I repeat some task $n$ times and count how often the task completes successfully. This gives the number $m$. Therefore the success ratio is
$$
r = \frac{m}{n}
$$
To calculate the error I just would use
$$
\Delta r = \frac{\Delta m}{n} = \frac{\sqrt{m}}{n}
$$
but then when I have for example $n=10$ tria... |
I have two types of 3d scan datasets over 200 forest plots. One type of data have higher resolution (more detailed information on the landscape) than the other. I derived 10 forest metrics from these dataset such as height, volume, crown cover and etc. I also have field data of animal abundance and species richness in ... |
Under the generate_weights() command using the {tidysynth} package for executing the synthetic control method in R, users are given a number of optimization options. However, I cannot find documentation on what these optimization options do as {tidysynth} is no longer supported on CRAN (if anyone knows why, I would als... |
I am currently reading Mixed Effects Models for Complex Data by Lang Wu. On page 136, the author mentions the Monte Carlo EM algorithm as a way of treating missing covariate in the mixed effect model.
Say we have ($\mathbf{y}_i, \mathbf{z}_i, \mathbf{b}_i$) as complete data for $i = 1,..., n$ where $\mathbf{b}_i$ are r... |
Let's say I have a univariate (no intercept, for simplicity) regression with normally distributed errors,
$$y_i = \beta x_i + e_i, \text{ where }e_i \sim N(0,\sigma^2),$$
And I would like to find MLE estimators of $\beta$ and $\sigma$. Writing down the likelihood, we get
$$L(y|x, \beta, \sigma) = \prod_{i=1}^N \frac{1}... |
Long story short, I'm seeing in the literature that linear instrumental variables models are identifiable, even in the presence of unobserved confounders. The unobserved confounding aspect befuddles me, since it is not clear where this insight came from.
Briefly, given a linear instrumental variables setup where
$X = ... |
Let us consider a regression model
$ y = X_1 \beta_1 + X_2 \beta_2 + u $
where $y$ is $n \times 1$, $X_1$ is $n \times p_1$, $X_2$ is $n \times p_2$. Assume that $rank(X_1)=p_1$ and $rank(X_2)=r_2 \le p_2$.
By multiplying $M_1 = I_n - X_1(X_1'X_1)^{-1} X_1'$ to the above model, we have
$ M_1y = M_1 X_2 \beta_2 + M_1 u ... |
I am going through the backdoor criterion and how we get from an expression involving do to one which doesn't as below.
What i don't quite get is how to rewrite this estimand in terms of propensity scores. e.g. imagine we denote this propensity score by e(v2) - i get that the propensity score acts as a mediator betwee... |
I just did a MANOVA to investigate the effect of the my IV on my three DV's.
However, now I want to see if my Moderator Variable has anything to do with it. Can I just put my MV as a covariates? It then becomes a MANCOVA right?
My apologies if this question has been asked, I looked for it but did not find anything that... |
I'm interested in the following inference / filtering problem in a hidden Markov model setting. Suppose we have a simple random walk $x_t\in\mathbb{Z}$ and observations are "images" consisting of iid pixels $y_{n,t}$ of the form
$$
y_{n,t} \sim \mathcal{N}(\epsilon\delta_{n,x_t},1)
$$
where $\delta_{j,k}$ is a Kronecke... |
I am facing a problem in Hausdorff and IoU, where they stop learning when reaching a specific value! While the loss and dice metric keeps changing. surface_distance also has a problem since it is always equal to "inf". I need an explanation of why this problem happens. So I could understand the solutions. Note: I am us... |
I am estimating the difference between quantities of owned homes in particular census tracts between ACS 2021 5 yr estimates and ACS 2016 5 yr estimates. I'd like to know if the quantities of owned homes differ significantly between these two time periods. I am following ACS documentation in the 2018 ACS general handbo... |
I need your help to define the optimal budget allocation using a marketing mix model. I have built a multiplicative model to account for diminishing return and interaction between my IVs, and I am asked to decide how to allocate a 30% budget more compared to the previous quarter (Q2).
How could I do?
I would like to fi... |
Assume we have two sets of data $X_1$ and $X_2$ drawn from two different distributions. Are the loss of the empirical risk minimizer of $X_1$ on $X_2$: $l_{X_2}(f_{X_1})$ the same as the loss of the empirical risk minimizer of $X_2$ on $X_1$: $l_{X_1}(f_{X_2})$ the same? If not, is there any existing result characteri... |
I am currently looking into developing a scale to measure a latent construct. I believe the latent construct is a property of conversation sequences. The scale I am developing has 4 a priori defined factors with about 6 items each. We are looking to recruit ca. 250 participants who will use the scale approximately 5 ti... |
I PAC-bound I learned consider the following decompistion:
$R(f) = R_n(f) + \left(R(f) - R_n(f)\right)$
where $R(f)$ is the test error, $R_n(f)$ is the training error $\left(R(f) - R_n(f)\right)$ is defined as generalization error. However in practice, we often talk about test/validation error with a slightly different... |
I have generated a time series data set of measurements that are a bit noisy and I want to apply kernel smoothing to the data. My time series data is not regular however, meaning that the time difference between consecutive observations can be variable so I want to account for that within the weighting of the kernel sm... |
So I have a dataset with about 6x features as I have samples, which are balanced across 8 classes. I set out to figure out which features are important for each label. I've been approaching this using Logistic Regression in the multinomial setting. Initially I had used all ~300 features but knew there was strong coline... |
I’m trying to informally derive the chi-squared test statistic using a combination of basic geometry and algebra. I’m successfully able to obtain a system of equations that contain Karl Pearson’s chi-squared test statistic. But I need help showing that the test statistic = chi^2 from my equations.
My approach:
I have a... |
Suppose we have a VAR(1) model:
$$
\mathbf{X}_t = \boldsymbol{\Phi} \mathbf{X}_{t-1} + \mathbf{Z}_t, \hspace{10mm} \mathbf{Z}_t \sim WN(0,\Sigma)
$$
If we can keep plugging that equation into itself, we get
$$
\mathbf{X}_t = \sum_{j=1}^{\infty} \boldsymbol{\Phi}^j Z_{t-j} \tag{2}
$$
as long as the eigenvalues of $\bold... |
I'm still pretty new to modelling but essentially, the dataset is consists of the following (the first observation only):
SeedAttachment.Number Seed NO.seed Species Syndrome Mountain Individual Method
<dbl> <dbl> <dbl> <chr> <fct> <chr> <chr> ... |
I want to apply the Mann-Kendall (MK) test to identify relevant trends in multiple time series, however literature on the matter tells me one hard requirement is for no serial correlation to exist in the data.
In its turn, conventional auto-correlation analysis using ACF/PACF plots require stationarity, which is usuall... |
I do statistics for a restaurant in which people arrive at random times and end up paying a random amount of money when they are finished. I am using a Compound Poisson Process to model this, but I have an issue with fixing the rates of our guests visits: people do not arrive at the same rates for each hour, does this ... |
i've tried to find the equation for lq likelihood equation is:
lq_likelihood <- ((f^(1-q))-1)/(1-q) and with f is pdf of lognormal distribution and q is distortion parameter(i'm using q=1-(1/n))
define u <- logf(x) u' is first derivative of each parameter
the first derivation of lq_likelihood: sum (f^(1-q) * u')
|
Usually there are clear advancements in ML methodologies in research especially, where I can say X method is essentially better than Y method for most datasets.
However, I recently accidentally stumbled upon SOMs, and they seem pretty cool, like an interpretable form of UMAP or tSNEs, with the ability to offer perhaps ... |
I am learning the Gaussian process and feel confused about how three lines were generated in Fig 2.2(A) in the book "Gaussian Process For Machine Learning". As described by the author: "To see this, we can draw samples from the distribution of functions evaluated at any number of points; in detail, we choose a number o... |
Good morning all together,
as a statistics rookie, I'm facing the task how to test for a difference in the mean of two random variables that are bound between 0 and 1. Both their means are positive and in one case (potentially) autocorrelated as those random variables are time series.
In detail, these random variables ... |
As shown below and per the R code at the bottom, I plot a base survival curve for the lung dataset from the survival package using a fitted gamma model (plot red line) with flexsurvreg() and run simulations (plot blue lines) by drawing on random samples for the $W$ random error term of the standard gamma distribution e... |
How do you know when a SEM shows as unidentified not because of the path diagram but because of the actual variables that you put in?
The following model is well-identified according to AMOS, but when I simply replace variable X7 with variable X10 (which literally should change nothing), all of a sudden the model is un... |
I want to compare two ranked lists with items and their confidence scores assigned by the model. The lists are non-conjoint, i.e. can have different items. The number of items is the same for both lists.
For example;
List A
some 0.5
whole 0.32
great 0.26
all 0.14
same 0.08
List B
whole 0.62
all 0.32
great 0.19
some ... |
Say I have a set $\mathcal{X}$ and a partition $A := (A_{1}, \dots, A_{M})$, i.e. subsets such that $\dot{\cup}_{i=1}^M A_{i} = \mathcal{X}$ and the $A_{i}$s are pairwise disjoint.
Say further I have a function $f: \mathcal{X} \to \mathcal{Y}$ that is piecewise constant on the cells of $A$, i.e.
$$
f (x) = \begin{cases... |
If the time series process is linear, then the ARIMA model is specified.
The residuals from this model are $(1.)$ no autocorrelation $(2.)$ mean equals zero $(3.)$ constant variance. We say that this process is a white noise process. But under white Gaussian noise, how to proof no autocorrelation = independent? And how... |
Please run this code in order to create a reproducible example:
set.seed(1)
n <- 10
dat <-data.frame(thesis = rep(c('Yes', 'No'), each = n / 2),
satisfaction = c(sample(5, replace = TRUE, size = n / 2), rep(NA, n / 2)))
dat$satisfaction_without_NA <- ifelse(is.na(dat$satisfaction),
... |
I would like to request some help from the data science community.
My task with machine learning is do achieve the following in pyTorch:
I have an equation given by:
$$
\frac{\mathrm{d} s}{\mathrm{d} t}=4a−2s+\lambda(s)
$$
Where $a$ is an input constant and $\lambda$ is a non-linear term that depends on $s$.
I know th... |
Context:
...
The public school system in the city where I live has high demand and low supply. You apply to some schools in order of preference and there is a scoring system to give priority to all applicants based on some factors (having another child in the same school, home proximity, job proximity, social factors, ... |
I have 4 data points that represent the average cycle time for a process in one month. The data is of the full population, not a sample. I am trying to determine if there has been a significant change over those 4 months. Here are the data points, with 't' representing the month and 'ct' the cycle time:
t ct
1 ... |
I am currently working on a very imbalanced dataset:
24 million transactions (rows of data)
30,000 fraudulent transactions (0.1% of total transactions)
The dataset is split via Year, into three sets of training, validation and test. I am using XGBoost as the model to predict whether a transaction is fraudulent or not... |
I want to do a mixed linear model, with two hierarchical random effects. I want to determine wether if these random effects are worth including in the model.
I have tried so far doing :
library(nlme)
# Mode lwith random effects but no fixed effects
lme1 <- lme(var ~ 1, random=~1|r.var1/r.var2,
correla... |
I'd like to ask if somebody can help me to understand these plots, the meaning of dots dispersion on the plots. I can't understand how to read these plots.
Link to the article https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7768686/
|
I want to compare two interval independent variable’s with t test how can I compare them?
|
I calculated a directionality map, where at each point (x,y) I have a jackknife sample (n=8) of 2d vector displacements $\vec{D}_k$ ($k=1,...,8$ are the black vectors in the figure below; red vector -> "centroid" or average weighted by magnitude; magenta -> simple mean vector). The figure represents a single (x,y) posi... |
I'm comparing two groups of people on a binary variable. The number of successes is really small for the two groups (which wasn't expected, due to a lack of previous quantitative research on the subject) and the number of total observations is not so great (450), so we have group A with 2 successes on 225 observations,... |
I am working on a project that is seeking to use the synthetic control method to estimate the effect of Costa Rica's military abolition on levels of democracy (0-1 interval). I'll attach my code here and plot the time series to demonstrate the initial issue I am having:
library(tidysynth)
synth.opto <- latin.am %>%
... |
I want to assess the importance/association of many features (continuous) with a Y variable (continuous and, in most cases, skewed/normally distributed). So far I have tried running linear regression and extracted the beta coefficients for each X variable against Y. However, I am wondering if I could approach this task... |
I am trying to implement a Gibbs sampler with three blocks, that's not actually a full conditional Gibbs sampler.
Say I partitition my parameter $X$ into three: {$X_1$, $X_2$, $X_3$}.
I inted to sample, in random order, $X_1|X_2$ and $X_2|X_1$ and then sample $X_3|X_2,X_1$.
I am running into trouble initializing the al... |
Consider $2N$ i.i.d random variables $x_1,\dots, x_{2N}$ drawn from an unknown distribution $X$. Let $f$ be a continuous function such that $f(X)$ has finite mean and variance. For $1\leq n\leq 2N$, suppose $\epsilon_n \sim \mathcal N(0, \sigma^2)$ is an i.i.d white noise and $\mathbb E[x_n\epsilon_n]=0$. Define $y_n=... |
Suppose that I have a single regression model predicting daily total store sales. Initially the model was trained on only 1% sample of the data and I applied min max normalization to the store sales. Now I gain access to the raw data, and would like to train the model on the raw data instead. How should I transfer the ... |
I have a time series of daily temperature with autocorrelation that looks like this:
Of course, temperature is heavily autocorrelated. When looking at the partial autocorrelation plot, lags are significant up to the 15th lag.
But now I want to use this data as input for a regression model of a dependent variable y (p... |
When you filter on only viewing results with p<alpha, some of those "statistically significant" results go in the wrong direction. This is called a Type S error ("S" for sign). And the average effect size in those selected results is larger than the true effect size. Believing the magnitude of these effect sizes has be... |
I want to predict whether the client will renew his/her subscription based on groceries consumption patterns. Suppose an order contain only one type of grocery.
I have a DataFrame containing ratios of values for different types of groceries for each client and the total number of orders. Each ratio represents the numbe... |
Assume we have data for two years, 2021 and 2022.
When training, we use 2021 data to predict 2022 outcomes, resulting in model 1.
Now during inference, we use 2022 data to predict 2023 results.
Assuming the trend changes in 2022 and we have few months of data in 2023, is it possible to make model1 more accurate?
A plau... |
I am trying to compare the lodging resistance scores of different wheat cultivars in an agronomic trial. Lodging is the phenomenon in which wheat plant can bend and lean closer to the ground as a result of strong wind and rains, for example. My score goes from 1 (wheat plants are lying flat on the ground) to 9 (wheat p... |
I have datasets from two bivariate normal distributions, $\mathcal{N}(\mu_x, \Sigma_x)$, and $\mathcal{N}(\mu_y, \Sigma_y)$ respectively. Now we know the correlation coefficient for these two distributions can be defined as $\rho_x = \frac{\sigma_{12}}{\sigma_1 \sigma_2}$ and $\rho_ y= \frac{\sigma_{34}}{\sigma_3 \sig... |
I have a dataset of observations taken at random time points across a wide range of time.
These are X-rays taken in a fashion that, sadly, is a bit random (clinic can get a bit manic).
I have 70 patients.
Each patient has between 2 and 8 images.
This means about 300 images.
The image capture time is random, but always ... |
Given the representations of the mean values
$$E[Y]=\int(1-F(x))\,dx$$
and
$$E[X]=\int(1-G(x))\,dx$$ where $F$ and $G$ are the distributions of $Y$ and $X$ respectively,
can I use them to find the expression (or a bound) of $E[|Y-X|]?$ For instance,
is it true that
$$ E[|Y-X|]\leq\int |G(x)-F(x)|\,dx?$$
|
I am working on my risk perception model using three measures- probability, affection, and severity. I have one item on a Likert scale (1-5) for each probability and affection. However, for the severity part, I have one item on the Likert scale (1-5) and 7 items of binary types (0,1). The Sample size is 203. I want to ... |
In numerous articles I have read (Abadie 2021, Samii 2016, basically any Abadie piece that talks about the synthetic control method), the authors cite regression's reliance on extrapolation for weights as a negative feature for estimating causal effects.
For example, Abadie 2021, in the section discussing the benefits ... |
I have been fitting a bayesian GLM using brms. The code works well but when I loop this over several data and make it a bit more complex, R encounters a fatal error and crashes. This seems to be happening to other people when using brms. I am now looking into other methods to code this in R (eg, stan_glm, bayesglm), bu... |
In computer graphics, you have an (MC)MC estimate $Q_i$ of the color value of the $i$th pixel and a true value $I_i$. Now you take $\epsilon_i:=Q_i-I_i$, which can be thought of as an "error image".
Now, one has found out, that if the Fourier transform (https://vincmazet.github.io/bip/filtering/fourier.html) of $\epsil... |
I applied a test for attachment and 2 different tests for internet addiction to 114 highschool students. All tests have a Likert scale 1-5. My hypothesis is that the attachment and internet scales will have a negative correlation.
What are the relevant calculations that I need to perform, to include in a psychology bac... |
Let $X_n$ be i.i.d with common df $F$. Let $M_n = \max (X_1, \ldots, X_n)$. Suppose $P(b_n^{-1} M_n \leq x) = F^n(b_n x) \to e^{-x^{-\alpha}}$ weakly, where $x > 0$ and $\alpha > 0$.
Let $x_0 = \sup \{x \colon F(x) < 1 \}$. I want to prove that $x_0 = \infty$, and my book says that if $x_0 < \infty$, then for $x>0$, we... |
I am studying approach to calculate how correlated 2 nominal variables are by using Cramers V. However when I have a simple 2x2 matrix that I expect high effect size, the calculated outcome shows otherwise.
And the output of CramersV is 0.288.
From the matrix, Material B shows 10X higher fail rate compare to Material... |
Suppose you have a random variable $X$ and black-box function $f$. Suppose you also have prior estimates $m$ and $s$ of the mean and standard deviation of $f(X)$.
How can we use this prior information to reduce the variance of a Monte Carlo estimator of the mean of $f(X)$?
Thanks ahead of time!
my attempts
My first ide... |
I am trying to causally evaluate an impact of a specific labor policy that was implemented in three U.S. states. I wonder if constructing a synthetic/artificial control method (SCM) for those states makes sense to resemble the treatment group?
Specifically, based on my reading of econ/policy research that uses SCM, the... |
What is the best statistical test for comparing two random forest models, where a different set of variables is made available for each model? I need a test where a power test can be used to justify a sample size. I'm considering using a paired t-test (see below).
More specific information follows.
Two random forest ... |
I would like to ask a question regarding the interpretation of log-log interaction term in the Two-way fixed effect model. I have the following regression model:
y_it = _0 + 2[ln(price_it)*ln(area_it)] + myu_i + phi_t + u_it
here, y is years of schooling (continuous), price is housing price (continuous), and area is ho... |
I want to examine the effect of being a grandparent on work. My data spans from 2000 to 2020. The model is
$$\text{work}_{it}\sim \text{grandparent}_{it}+\text{covariates}_{it}+\delta_t+\varepsilon_{it}$$
where grandparent is an endogenous dummy variable instrumented by the dummy variable first_child_female ($=1$ is th... |
Does anyone happen to be familiar with this method: fixed-effects ordered logit models (feologit in Stata)? In this paper: https://journals.sagepub.com/doi/pdf/10.1177/1536867X20930984
In the paper, this method was applied to panel-data. Is the BUC-tau method also suitable for case-control data?
For example, two types ... |
Referencing this Q/A, Andy offers two models that return the DiD lift estimate.
Eq1:
=([|=,=2]−[|=,=1])−([|=,=2]−[|=,=1])
Eq2: =1+2(treat)+3(time)+(treat⋅time)+
From appearances, the in eq1 is the same as in eq2, which is the lift attributable to treatment exposure under parallel trends assumption.
[|=,=2] = 1+2+3++... |
In Heffernan and Tawn's 2004 paper, they describe a procedure to sample multivariate data, conditional on one variable ($Y_i$) being extreme. The idea is that $Y_i$ is extreme if it exceeds some arbitrary threshold $v_Y = t(v_X)$. They propose a simulation procedure to simulate more extreme values of $Y_i$ and then use... |
I have multiple cases, each having multiple independent variables measured over time. One of the variables represents known failure/success in the past, and I am trying to model a binary logistic regression to predict future failure/success (DV).
Am I barking under the wrong tree?
What will be the best model to move f... |
I have a dichotomous outcome variable (ever disease) and a continuous exposure variable (chemical). I have already run the logistic regression for the ln exposure and gotten the odds ratio. However, because this exposure is fairly common, a per 1-unit increase doesn't tell you a whole lot. Therefore, I wanted to see if... |
I think it is easiest if I describe my question using an example:
Let
$$
\mathbf{x} \triangleq [ x_1,x_2,x_3]
$$
and for sake of explanation let's assume that
$$
\{x_i \in [0,3] \}_{i=1}^{3}
$$
which is to say that each element in the array $\mathbf{x}$ can take one of four values: 0,1,2 or 3. All combinations are allo... |
My data is collecting deposition of particles from the atmosphere once a month for 11 months at two sites. I am testing to see if my two sites' data are normally distributed so I can determine what T-test to use to test for a difference between sites (thinking of Student t-test). But I need to make sure my two sites ha... |
I am conducting a study that seeks to assess differences in fat distribution in transgender women, as compared to cisgender men and women. A prior study has previously published separate formulas derived from multifactorial linear regression of 3 predictor variables (age, BMI, and sex assigned at birth) for cisgender m... |
I am doing a statistical test (program used is SPSS). On the basis of distribution and sample size, I have to chose the correct variable analysis. I also have to justify every decision. I have two independent groups with a sample size of $n=43$ and $n=12$. My first step is to decide whether the data in groups is norma... |
I'm looking at the difference between bird communities across 5 different vegetation condition levels. Bird species richness data has been recorded across 40 sites, with uneven sample sizes for each of the 5 groups.
From this species richness data, I have calculated a metric which gives a score of the health of the bir... |
I have 10 features for 3 classes and all of them have a distribution similar to this (green, blue and orange is for class 0,1,2):
I tried with NBGausian and LogisticRegression however it looks like that this algorithm is not good enough for them. Do you have any suggested algorithms for those?
|
GMM(Gaussian Mixture Model) itself is a mixture of Gaussian with each having the proportion of $\pi_k$, $$\sum_{k=1}^{K}\pi_k=1$$this is easy to understand. But when introducing the latent, I don't understand it, because there can only be one $z_k=1$, then how this is related to the soft assignment in GMM model?
|
My first time doing an LSTM and optuna. I wanted to use optuna to find the best values of batch size, epoch and optimizer. But when I do, I get a rmse value of 8.34 when I get a naive prediction of 0.69 and with a model with a set value of batch size of 8, epoch 4000 and optimizer SGD I get a rmse of 0.28. I could use ... |
I am reading a paper that contains a Gibbs sampler for a regression model with parameters $\beta$ and design matrix $X$. One of the steps in the Gibbs sampler requires simulating from a binary random variable $Z$, and the authors only say
Generate $Z$ based on
$$
\frac{P(Z=1 \mid \beta, X)}{P(Z=0 \mid \beta, X)} = \ps... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.