instruction stringlengths 9 38.7k |
|---|
I am running a set of GAMs (Generalized Additive Models) to model a smoothed effect. I have verified all the other necessary checks of my GAMs for the basis functions, etc. However, I find persistent issues with the heteroskedasticity of the model. My code (in r, using the mgcv package, to be specific) is the following... |
I'm reading Counterfactuals and Causal Inference by Morgan and Winship. In chapter 6, they discuss OLS as a means of estimating the average treatment effect for a binary exposure $D$ (assuming all assumptions to do so are met). They describe a scenario in which the population can be perfectly stratified by a variable ... |
Edited:
toss a fair coin 4 times and then roll a fair 6-side dice whenever the coin gives a head H.
Let X be the sum of the dice rolls.
How to calculate E[X] and var(X)?
For E[X] I tried the following:
p(dice=1|H) = 1/12
p(dice=2|H) = 1/12
and so on.
So E[X_i] = 1/12 (1+2+3+4+5+6) = 21/12
==> E[X] = 4 * E[X=i] = 21/3... |
First post here, so let me know if I'm missing things. I'm working with a multidimensional scaling (MDS) plot generated in MATLAB using cmdscale(1-(corr(Betas))). Based on prior experiments, I suspect two of the axes in the data closely align with my expected X and Y axes. However, the plot doesn't automatically orient... |
I've been doing the univariate analysis for a retrospective cohorts study. In this variable in particular, none of the no-cured patients had a growth of grampositive bacteria in their culture. Since there's a 0 in one of the boxes, I thought the best test was Fisher-Freeman-Halton's exact test (since the table is large... |
I want to compare between the level of Th17 cells in the blood of a group patients with Sarcoidosis, and whether or not it is correlated with them having fibrosis.
So, a continuous variable and a dichotomous variable, and one group, not two. Mann Whitney can't be applied as far I understand. So, what test to use if the... |
"A group of test subjects are split into two groups. 1000 people are given a vaccine, and 15 of them get the disease. 800 people are given a placebo, and 60 of them get the disease. Test the hypothesis that the vaccine is effective at $\alpha = 0.05$."
I know that I am supposed to be testing $H_0: \mu_1 = \mu_2$ vs. $H... |
In computing counterfactual queries for structural causal models (SCMs), J. Pearl says to go through 3 steps.
Abduction
Action
Prediction
In his book, Causal Inference in Statistics, he shows how to compute a counterfactual query for a SCM with continuous variables where the relationships are modeled as linear regres... |
I have count data (numbers of articles published) that I want to model as a function of time and location. I suspect there's an increasing linear effect with time but also a seasonal boost in the summer. Further, I think the pattern may differ depending on the location.
My data are daily but I've summed the counts by c... |
I am training a WGAN to generate a vector of 6 data points (6 dimensional output). I plotted a correlation matrix of my dataset to see the underlying distribution of the 6 data points, and the correlations between each of the data points. This way I can see if my WGAN has captured correlations between the data points a... |
I am reading ISLP Chapter 3.2 on multiple linear regressions. They define the F-statistic as $S_1$, the variance of sample 1 from population 1, divided by $S_2$, the variance of sample 2 from population2, each from a different population.
However, the F-statistic only depends on the degrees of freedom of sample 1 and s... |
I launched a campaign where I give certain users 20% off. This was not launched as A/B test. I’m trying to figure out how to evaluate the incremental impact + ROI of the intervention given that it was not launched as an experiment.
Some solutions I’ve potentially shortlisted are:
Synthetic Control - may not be possibl... |
I am working with the Boston data set and I want to graph age and medv in this dataset and then determine the number of knots that would best fit between this data and also what they are. I am not too sure how to change the number of knots or how to determine the values in the 3 quartiles. I am new to R and I cant find... |
I have systems A and B. I sample N inputs $X_i (0 \leq i<N)$ and run them through each system, getting outputs $A_i$ and $B_i$ for every $i$. I also have a random vector $Flips_i \backsim Bernoulli(0.5)$.
I then survey K users in exactly the same way:
For each of the N following inputs, do you prefer the output on the ... |
I am doing a multiple linear regression, with 3 categorical predictor variables (Flow, Drug, Pesticide) each with two levels (0 vs. 1). The response variable is the abundance of invertebrates. I have set the predictors as categorical variables using the function as.factor(). I am interested in finding out the significa... |
The corrected sum of squares is the sum of squares of the deviations of a set of values about its mean.
$$
S = \sum_{i=1}^k\space\space(x_i - \bar x)^2
$$
We can calculate the mean in a streaming fashion, as follows:
$$
m_n = \frac{n-1}{n}m_{(n-1)} + \frac{1}{n}x_n
$$
I understand the intuition behind this: the sum of ... |
library(aomisc)
library(drc)
m.linear <- lm(y ~ x, data = data)
m.exponential <- lm(log(y) ~ x, data = data)
m.asymptotic <- drm(y ~ x, data = data, fct = DRC.asymReg())
m.logistic <- drm(y ~ x, data = data, fct = L.3())
m.gompertz <- drm(y ~ x, data = data, fct = G.3())
I want to use AIC value to determine the best ... |
I am trying to understand how simulation can be used to check if (regression) model assumptions are met.
For example here is a linear regression model:
$$y = \beta_0 + \beta_1x + \epsilon$$
I understand that the errors and the response have the following distributions:
$$\epsilon \sim N(0, \sigma^2)$$
$$f(\epsilon) = \... |
I know there are several different models to chose from. I would like to know which one is the most appropriate (advanced) and if I should include baseline differences concerning the dependent variable (which happened despite of randomization unfortunately). So far, I see three options:
Linear regression with group x t... |
I am applying a Poisson regression with robust standard errors to model a binary response variables. I was wondering what are the assumptions underlying this type of regression?
Does robust Poisson regression is appropriate in the context of a cross sectional study?
|
I need your help with my problem. So, after step of imputation missing data through MICE method, I got multiple imputed dataset. Then, I pooled the estimates and coefficients with mixed effect cox model. But in the final result, I got NA for the random effect terms. Is it normal ?
For more infos, I have 27 860 patients... |
I want to model a linguistic feature (number of a certain word at the beginning of the sentence) through centuries. I am familiar with logistic regressions, Poisson regressions and GAMM to model such things through time but this time some rows have large intervals instead of a precise year, so my dataset looks like thi... |
I am reaching out to open this topic in order to clarify a point regarding chi-square and the influence of Monte Carlo on it.
For purely informative purposes, I have decided to generate random data that follows the relationship y=x with noise in the following manner:
x sampled from uniform([0,1])
sig_y sampled from un... |
I have generated these two PCA plots on Galaxy using two different GEO datasets, as a part of RNA-Seq analysis. In both, each group has several clusters. Also in the Obese vs Control dataset, the PC1 is very high 81%. So, according to my understanding none of the datasets are good to go.
Obese dataset:
T2D dataset:
M... |
I've always been taught that decreasing the learning rate parameter in gbdt models such as XGBoost, LightGBM and Catboost will improve the out-of-sample performance, assuming the number of iterations is increased accordingly and all else equal.
However, I see a lot of people (including some Kaggle competition winners) ... |
I don't understand why the degrees of freedom (DF) are different between TYPE=VC and TYPE=FA0(1) in case of a one-random effect mixed model. For example:
$$level_{ij} = \mu + \beta_1time + \gamma_i + \varepsilon_{ij}$$
where $\gamma\sim N(0,\sigma^2_\gamma)$ is the random intercept term, and $i$ the batch. The correspo... |
When I make a histogram I get the actual distribution of my samples, with the appropriate counts, but when I try making a density plot the scales go up to 800, and when I try using geom_density(aes(y = after_stat(count)) I get a y-axis scaled in the 1000s. I assume this is the expected behaviour of ggplot2, but I just ... |
If my causal structure consists of $y$ influencing $x$ (so the DAG would simply be $y\to x$), my understanding is that $p(x|do(y=1))=p(x|y=1)$. But what is wrong with the following argument?
$$p(x|do(y=1))=p(x|y=1)=\frac{p(x,y=1)}{p(y=1)}=p(x)?$$ Because $p(y=1)=1$ due to the intervention.
What am I doing wrong?
|
Can three distinct causal relationships (labeled A, B, and C) be constructed to yield a common targeted correlation matrix (e.g., $r_1=0.6,~r_2=0.5,~r_3=0.4$) as depicted in the figure below?
If constructing all the three causal relationships proves unfeasible, how about two cases instead?
|
Consider the statement
In an appliance repair shop, the following are found $10$ televisions for repair, of which $3$ are of brand $A$, $3$ of brand $B$ and $4$ of brand $C$. The order in which the televisions are repaired is random.
I want to find the probability $P_{1}$ that the order of repair of the TV sets is $CAB... |
for simplicity, let's say I have a dataframe called df, with two variables - weight_0 and weight_1.
weight_0 describes the weight of participants before intervention, and weight_1 describes the weight of the same participants after intervention.
Now, I want to know if the entire cohort demonstrated weight loss during t... |
Assume that we have two scalar quantities $X$ and $Y$, and a confidence interval oracle $CI$ for each of them, so that $CI_X(\alpha)$ and $CI_Y(\alpha)$ will produce level-$\alpha$ confidence intervals for $X$ and $Y$ respectively. Assume that we know nothing about the procedure by which the confidence intervals are ge... |
TL;DR: Data being scaled to a sample that is neither training nor validation. Is this data leakage?
Hi,
I have a data set from samples that are distributed on a plate. Precisely, there are 96 wells where 3 are sample controls, 5 are plate controls, 2 are negative controls, and the rest (86) are actual samples. Each sam... |
I am working on a problem where I must show that the conditional distribution of Y given X follows the distribution with mean and variance shown below. In the previous question, we were given that X and Y form a bivariate normal distribution and I derived the marginal distribution for X and Y. I am stuck as to how to p... |
Before I state my question, I would like to point out that I do not have a mathematics/statistics background, so please excuse my lack of rigor in the terminology I use.
I have two datasets of unequal size and unequal variance. I think they are independent samples: they events are disjoint, i.e. the events from one dat... |
I am very new to (Bayesian) quadrature and am trying to understand if or how we can use additional information to approximate our definite integral.
Specifically, I am interested in the expected value. This in itself reduces to an integral for continues values
$$ Z = \int f(x)p(x) dx$$
In my problem setting I have acce... |
I'm having doubts on the conditions of an equality. Considering $f(X,w): \mathbb{R}^n \xrightarrow{} \mathbb{R}^n$ a function of n-variate random variable $X$ with an unknown distribution $p(x)$ and $w$ parameters in $m$ dimensions. I have:
$$
E_{X}[f(X,w)\nabla_{w} f(X,w)] = aE_{X}[\nabla_{w} f(X,w)]
$$
When is this... |
Let us have an AR(1) model with individual efect
$$y_t = \alpha + \theta y_{t-1} + \varepsilon_t$$
with $|\theta|<1$ for stacionarity and $\varepsilon_i$ i.i.d. from distribution with mean $0$ and variance $\sigma^2$.
As $\varepsilon_{t}$ and $y_{t-1}$ are independent and $\mathbb{E}\, \varepsilon_{t}=0$
I would like ... |
I have a problem. I am a biologist working in machine learning. Recently I am dealing with LASSO regularized linear regression. Very nice RMSE, MSE, R^2 values under all kinds of cross-validation. But the problem is that biologists at the moment (especially here in Eastern Europe) are not willing to let go of this p va... |
I'm working on a dynamic Difference-in-Differences (DID) analysis to assess the impact of child care leave on individuals' wages over their working life. My database includes information on the date of joining and leaving the company, the date of leaving, and the cause for leaving (including child care leave). I also h... |
In my company I've been noticing some binary classification modeling code that replaces bins of a continuous variable with the corresponding Weight of Evidence (WoE) of the given bin. As far as I understand, WoE for some bin $B_i$ of some variable $X_j$ is calculated by
$$\text{WoE}_{ij} = \ln(\frac{P(X_j \in B_i | Y=1... |
I am interested in any advice I can get on different ways I might analyze multivariate ecological community (fecal sample microbiome) data that come from a "before after control impact" design as follows:
Subjects divided into four groups. Fecal sample taken at time 0 before any treatments are started, and the microbi... |
Let's take the following scenario:
Customers arrive at a shopping mall according to a Poisson process with a rate of λ per minute. The mall has a door that closes if nobody passes for two minutes, and it will reopen when someone arrives.
The variable K_n represents the number of times the door closes before the nth per... |
My goal is to extrapolate or forecast dynamic treatment effects into the future using a fitted model. My data consists of two groups (treated and control), seven time points, and a continuous outcome.
library(tibble)
set.seed(535)
d <- tibble(id = rep(1:10, each = 7),
periods = factor(rep(0:6, times = 10)... |
I am trying to fit a (logistic) Generalized Additive Model with the pygam package.
I am given $d$ features $\mathbf{X} \in \mathbb{R}^{3}$ and want to fit a Generalized Additive Model.
Question 1: What is the best way to determine $\lambda_{i}, \ i=1,2,3$ ?
Question 2: How do I choose the Degrees of Freedom ?
import pa... |
I have two matrices A and B of 2388 rows and 1001 columns. I would compare two matrices with wilcox.test but is not clear to me if I had:
directly input them ->
wilcox.test(mat_a, y =mat_b,alternative = c("greater"),paired = TRUE, conf.int=T)
calculate the mean of each row and compare the two vectors:
A_mean= rowMean... |
The question: Given a random sample $X_1,...,X_n$ show that $\frac{1}{n}\sum_{i=1}^n X_i$ is an unbiased estimator for $E(X_1)$.
My confusion: Given a statistical model $(\Omega,\Sigma,p_{\theta})$, where $p_{\theta}$ is a parameterized collection of probability measures, We define $E_{\theta}(X)=\int_{\Omega}X(\omega)... |
I have 9 variables (all stationary) grouped into five different datasets (each set has 4 common variables and one different). How can I evaluate which is the best VARX model? I'm using VAR() from the vars package to estimate the coefficients.
Is it correct to use log likelihood? Is there documentation of that? or shoul... |
According to the chapterBayesian Age-Period-Cohort Models written by Ethan Fosse, the Classical APC Regression Model is the method I referred to in the question. In my specific case, I opt to set the period effects for the years 2000 and 2005 as equal, imposing constraints during model estimation. The rationale behind ... |
Here are two popular principles in Statistics:
1) Law of Large Numbers: If $X$ is a random variable with a probability density function $f(x)$ and an expected value $E[X] = \mu$. If we take a sample of $n$ independent and identically distributed observations from $X$, denoted as $X_1, X_2, ..., X_n$, and calculate the ... |
From the Gap statistic paper, during the proof for the theorem 1, we can see the below equality (p. 422),
$\begin{aligned} \operatorname{var}(X) & =\frac{1}{2} \int_{-\infty}^{\infty} \int_{-\infty}^{\infty}(y-x)^2 f(x) f(y) \mathrm{d} x \mathrm{~d} y \\ & =\frac{1}{2} \int_0^1 \int_0^1\left\{F^{-1}(v)-F^{-1}(u)\right\... |
I am doing some analysis of US Senate races and in my regression I'm wondering if I should include a (party X state) indicator variable that essentially measures the average vote for the two major parties in each state.
The issue is I have 424 observations, so there would only be about 4 observations per dummy on avera... |
I am working with a hospital dataset.
Patients come in and provide information (i.e. var1, var2, var3) about themselves and their partner (if they have one). Later, their partner also come and provide the same information about themselves and their partner that just came in.
The dataset looks something like this:
| pat... |
I am practicing the regression problem using the sci-kit learn dataset. The dataset is about housing prices. When we use a regression model, it predicts a number. Based on the predicted value and actual value, we calculate MSE and RMSE to determine the productivity of the model. We can obtain prediction intervals as we... |
I have the distributions of the fraction of people in each income bracket in a town in 1990 and 2020. The total sample size is the same in both, and assume that the incomes have been adjusted to account for inflation.
I want to see if the following two observations (which are visible to the naked eye) are statisticall... |
I am doing binary classification on tabular data. Each record in a table has one text field of variable length (typically <3k characters, the longest is 50k) and ~150 numeric fields (these are aggregate features I constructed myself, there are no mandatory features I have to use).
An old-school way would be to represen... |
I am simulating data for an experimental design with two conditions. I specified the following multilevel model:
$$
y_{ijk} = \beta_0 + u_{0j} + v_{0k} + (\beta_1 + u_{1j} + v_{1k}) * X_1 + e_{ijk}
$$
where $y$ is the $i$th measurement of my dependent variable for subject $j$ and stimulus $k$. I am modeling a populatio... |
Let $X$ be a positive, lognormal random variable with known mean $\mu_X$ and variance $\sigma_X^2$. Since $X$ is a lognormal random variable, I know its pdf and moment-generating function (mgf).
pdf:
$$f(x) = \frac{1}{x\sigma\sqrt{2\pi}}\exp\left[-\frac{\ln[x-\mu_X]}{2\sigma^2}\right]$$
mgf:
$$E[X^n] = \exp\left[n\mu+\... |
There are 2 issues that multicollinearity in linear regression leads to
Interpretability goes for a toss
Parameter confidence intervals are wide and it is difficult to find a parameter significant
I understand the first. For the second I reference this
Following is the argument in the video: (I am summarising the 3 m... |
The convention of using stars to denote statistical significance is widely known, so one star means p < 0.05, two stars p < 0.01 and three stars p < 0.001. Nevertheless, statistical significance does not inform directly about the effect size, which can be quantified e.g. with one of Cohen's coefficients. When such coef... |
I am developing a new Bayesian model and want to compare it to already existing Bayesian models with the same hyperparameters using a simulation study. I generated 50 datasets and fit 4 different models. Is there an evaluation metric with which I can compare the recovery of the ground truth parameters? Since I am using... |
Diebold "Forecasting in Economics, Business, Finance and Beyond" (v. 1 August 2017) section 10.1 lists absolute standards for point forecasts, with the first one being unbiasedness: Optimal forecasts are unbiased. There is a brief follow-up there, too: If the forecast is unbiased, then the forecast error has a zero mea... |
Background: This is a cross-sectional study that collected 30 thrombosis samples.
We assessed the presence or absence of MP components (dependent variable), with 24 cases having MP (1) and 6 cases without MP (0). We carried single- and multi-factor logistic regression analyses, with clinical indicators as independent v... |
I'm new to causal inference, and I have a question regarding a potential causal relationship. I'm wondering if the following assumption holds:
$(Y_i(1), Y_i(0), X_i) ⊥ Z_i -> (Y_i(1), Y_i(0)) ⊥ Z_i | X_i$
I want to know if the independence between the treatment assignment ($Y_i$(1), $Y_i$(0)), the outcome variable ($Z_... |
Is it a viable solution to train on the whole dataset without splitting the data into 'train' and 'test' sets? In other words, is it okay to skip offline evaluation and only perform online evaluation (with the actual data that will occur in the future)? Wouldn't this provide my algorithm with more data, enabling it to ... |
I have a simulation model which produces a value for an output variable. Running it many times gives skewed distributions for this output variable. What I'd like to do is compare two distributions, corresponding to the results arising from two different sets of input parameters to the simulation model.
If I have run ... |
I need to compare the answers to a questionnaire (pre / post). The questionnaire was designed using a Likert scale. The two groups were made up of populations, some of whom were in both groups but also some were in one group but not the other. The numbers in both groups were small (the research was qualitative). Bearin... |
I want to solve the following problem:
A real estate agent has 8 master keys to open several new homes. Only one master key will open any of the houses. If 40% of these are usually left open, what is the probability that the real estate consultant will open any of the houses?
So, we can define the events:
A:The real es... |
How do I get a sample size if I'm using purposive sampling for my study? It's a sensory evaluation for a food product development but there are exclusion criteria so my adviser suggested to use purposive sampling. We will conduct it on a grade school but the respondents will only be 12 yr old students who are willing a... |
I have day-level data from about 100 participants from 11 days (EDIT. a subset of participants responded for 12 days, which is why there's a distance of 11 in the variogram table). I'm interested in predicting a rating they made each evening about how satisfied they were with their day from self-reported behavior durin... |
In my study, I experiment with fixed and mixed effects negative binomial regression to my data (in R) as the response variable is a count variable. Normally I should use Poisson regression but (and here I have doubts whether I have done it right) I checked overdispersion (variance > mean), theta parameter > 1, there is... |
If we use ReLU activations, then the function which our neural network represents is piecewise linear. It is not smooth and the first derivative doesn't exist everywhere.
However, if we use sigmoid or tanh activations, then the function represented by the neural network is smooth. The first derivative exists everywhere... |
I got a revision for my research paper recently and the following is the reviewer's comment on my paper: the authors should show that for any estimate from the linear regression that is reported in this manuscript, none of the other variables in the model were potential mediators. If there are potential mediators, then... |
In my study, I experiment with fixed and mixed effects negative binomial regression to my data (in R) as the response variable is a count variable. I have read somewhere that unlike in the case of linear or logistic regression, we can not rely on R-squared in negative binomial regression to assess the proportion of var... |
I have data of lengths ranging from 25 to 135 and I would like to determine the distribution of this data so that I can randomly generate values from this distribution. My data contains 443 values, and I would like to generate thousands of values, so I want to determine the distribution rather than randomly sampling my... |
I was trying to do graph-level regression task using graph convolutional networks, basically I concatenated 3 linear layers after several GCN modules, I used ReLU activation function before each linear layer.
Each of my graph is generated by 3 parameters: lambda, mu and K, I used randomly sampled parameters to generate... |
I'm building a classifier for objects located in images. There are really good networks for semantic segmentation, like "segment-anything", and I wonder is it possible to teach a CNN, i.e., ResNet, on images produced by multiplication of the original image and each of the binary masks created by Segment-Anything net?
T... |
Let's start with simple linear regression with log transformation of the response variable y:
$$ \log(y_i) = \beta_0 + \beta_1x_i + e_i$$
(btw, how is this model called? log-linear regression or lognormal regression?)
I'm trying to model a variable $y$ that has a log-decay with $x$, say time. But at a few time points (... |
I've been working with tree-based models for a long time and I never really asked myself how cross-validation would work when building a tree.
For the sake of this question, suppose I've split my training dataset into four folds. Wouldn't each set of folds result in a different tree? If so, wouldn't you be averaging th... |
I am currently modelling a data set of house prices, where some of the important covariates are the house coordinates (x,y) and the date of the house sale, t. In doing so, two questions have popped up:
Q1:
In the hunt for the best model, I have tried various options for modelling the spatiotemporal dependence in the da... |
I have a distribution of a variable that was normalized with plt.hist and then fitted with a sum of gaussian curves $g_M = \displaystyle\sum_i\frac{w_i}{\sigma_i \sqrt{2\pi}} \exp\left(-\frac{x - \mu_i}{2\sigma_i^2}\right)^2$, where the fitted parameters were $w, \sigma, \mu$.
I have computed the mean of the whole dist... |
I am trying to conduct a power analysis on the following model:
NativeAntModel <- glmmTMB(NativeAnts~ Treatment + Month +
(1|Site),
data = NativeAntData, family = t_family)
Background on the data: I am trying to see how the native ant community changes in response to an ant poison application. We had 4 sites. Two sites... |
Let's say I have a partial residual plot that looks like this, where the residuals are predicted minus actuals.
I would instead prefer for the residuals to be inversed, so that instead of underpredicting the outliers at extreme X values, we overpredict the outliers. I think Log transformation works somewhat but the f... |
I have a train set with more class 1 but less class 0, while I have a test set with more class 0 but less class 1. I have applied threshold adjustment into cross-validation. But it doesn't help to increase the performance in the test set.
Is there any suggestion to increase my performance, I got super low recall score.... |
I'm self-studying time series and I'm puzzled by apparent lack of consistency between :
the "classical" decomposition of time-series
and the Box-Jenkins methodology.
Concerning the classical decomposition, you will find that a time-series can be decomposed into many components, including a :
deterministic trend
stoc... |
I am taking the standard normal linear regression assumptions, i.e. $y=\beta x+N(0, \sigma^2)$, and I wanted to check my understanding regarding a t-test. If I performed a t-test against $\beta$, i.e.
$$t = \frac{\hat{\beta}-\beta}{\sqrt{\hat{\sigma}^2(x^Tx)^{-1}}}$$
Then would the probability that I get a significant ... |
Suppose a target of interest A and a feature B which serves as a good predictor for A. (both continuous variables)
In literature, the target is always reported as C := A/B however.
For me it is not particularly important if I can predict either A or C, but I fear multiplication of B times C to obtain A leads to a much ... |
Suppose there are 10k people in the population. You want to find out how many of them brush their teeth. You take 1k of them entirely randomly. They all say "yes". But the rest 9k say "no".
So everyone in the sample is brushing their teeth, and everyone not in the sample is not brushing their teeth.
How is this sample ... |
Having multiple ML algorithms for outlier/anomaly detection and even more datasets with always two classes (which are intentionally distributed unevenly), I did cross-validation tests for each model and dataset. From all of the above, I've collected accuracy scores that somehow give viable results, but I would like to ... |
Very belated follow-up to a previous question:
I have some pretty simple linear models predicting a rate (continuous response var) from certain features of the distribution of some measured value. The distribution features are the predictor/explanatory variables. The theory is that a combination of features of the dist... |
I have plotted a 3D perspective plot for generalized additive models. However, the z-axis label Growers (proportion) read from top to bottom. I have been asked to reverse the z-axis label, so Growers (proportion) reads from bottom to top. The vis.gam() function doesn't seem to have the function to rotate the z-axis tit... |
I know only a little about Fisher information and optimal experimental design, but I'm trying to better understand the subject. If I have an experiment composed of a single detector and my detector location is along a single axis and is parameterized by a scalar $\theta$ (my explanatory variable), then my D-Criterion w... |
I'm working on a project involving surveying for an invasive species which is removed upon encounter. When an individual is encountered, morphometrics are collected (e.g., size and sex). I'm interested in predicting which survey conditions result in the highest likelihood of removal for specific demographics. Survey c... |
I was wondering if someone could shed some light on the difference between the above-mentioned terms since I see them used frequently in many research publications I've read.
If I have an outcome variable A and predictor variable C, with B being a '3rd party' variable that affects the outcome, what makes variable B:
A ... |
I have a somewhat theoretical question.
I am trying to establish how closely scores across different language tests (IELTS, TOEFL, C1A, OET, DET) used in public domains match each other, given that they have access to recommended score ranges for each test.
Unfortunately, the different language tests use different scal... |
I have a question on how to satisfactorily explain the standard error of my ANN model.
For background, I have an ANN model that predicts protein post translational modifications based on their GC-MS data. I got pretty good results but the standard error of the model, not the prediction, is quite high. What I mean by th... |
I‘m calculating a simple regression with one predictor and one dependent variable. Missings treatment is done with full information maximum likelihood (FIML).
Should I do outlier detection, i.e. Mahalanobis distance and leverage points, with complete cases only or is there a need (and a way) to do it with estimated val... |
PyTorch has a Linear component that accepts input and output dimension arguments. If you want to implement linear regression, for example, supply n input features and 1 output feature and the model will take the dot product of features (for a given observation) and weights, $xw^T$. Great!
But I'm curious, under what ci... |
Consider the linear regression model $$\boldsymbol y = \alpha + \beta \boldsymbol x + \gamma \boldsymbol z + \boldsymbol u,$$ and denote the OLSE of $\alpha$, $\beta$ and $\gamma$ by $\hat\alpha$, $\hat\beta$ and $\hat\gamma$, respectively. The Frisch-Waugh-Lovell Theorem tells us that we can obtain the OLSE of $\alpha... |
I am in the process of planning out a statistical analysis for future data I will collect. I am primarily a neurobiologist, trying to implement more appropriate statistical models for my data. First, we want to test the influence of a treatment, age, and a surgical procedure on the intensity of cells within a region. F... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.