instruction stringlengths 9 38.7k |
|---|
I performed a moderation analysis according to the point "moderation analysis" https://cran.r-project.org/web/packages/MatchIt/vignettes/estimating-effects.html
Now, I have found that my three subgroups that are evident in TG as well as CG apparently do not act as a moderator for my outcome as the pairwise comparison w... |
I have 8 sets of data. Each set, L, contains 3 samples, S.
L1-L4 were tested immediately, and L5-L8 were tested after 24 hours due to equipment shortages. Due to this and the nature of the test, output values of the delayed set of data are lower than the initial set.
Right now, I am dividing the sum of each sample (S1,... |
I'm new to Bayesian analysis. I'm trying to estimate species's abundance.
As I know, when using MCMC sampling, it is recommended to make more than three chains. However, the function I use can make only one chain; I used hSDM.Nmixture.iCAR() of hSDM package in R. So, I made three different models with three different s... |
It is known that sample quantiles from any distribution are Gaussian-distributed:
$\sqrt{n} (X_{[np]} - q_p) \sim \mathcal{N}(0, \frac{p(1-p)}{(F'(q_p))^2 })$
Here sample size is $n$, $X_{(np)}$ is the order statistic number $[np]$ (sorted ascending), $q_p$ is the real quantile of level $p$, $F$ is the distribution fun... |
I am running a regression model to identify the relationship between exposure to hate speech and the adoption of hate speech on a prominent forum, controlling for a host of other variables. Theoretically, I feel it makes sense for my measure of hate speech exposure to be lagged by t-1 time periods, to capture how expos... |
Consider the following loss function:
$$\mathcal L (y, \hat y) = |y| \left[\log (1 + |y - \hat y|^2) \mathbf 1 _{\{y\hat y \geq 0\}} + |y - \hat y|^2\mathbf 1 _{\{y\hat y < 0\}} \right ]$$
The idea is to penalize predictions if their sign is different from target for large targets, while keep overall loss small for sma... |
Given the data $y_t$, $t=1, \cdots ,N$; I would like to estimate the decay parameter $\lambda$ in Exponentially Weighted Moving Average (EWMA) model, such that
$y_{t+1} = \sum_{k=0}^K \lambda^k y_{t - k} + e_t $,
where $K<N$.
I am wondering, is there any common way and solver for this nonlinear least squares problem? I... |
I have a question about logistic regression.
I have 2 groups in my database defined by a variable named "ttt".
I want to compare one variable named "w36_oxy" between the 2 groups, with an adjustment with 2 variables "pre_ste" and "g_age".
I tried this but I am not sure it is the result I want :
summary(glm(as.factor(w3... |
I've been reading about the use of OOB Error Rate and its applications and use in Random Forest, for which some curiosity is how I could further use this value in the optimization of my own modelling process.
With this I was curious if it was possible to trace back the splits that are erroneous, thus misclassified. Thi... |
I'm studying the influence of fund size and board diversity on the voting behavior of pension funds (in terms of voting on shareholder resolutions at companies they invest in). My dependent variable, 'voting behavior', is categorical (for, against, abstained, divest, no investment). My independent variables are age div... |
I have clinical data and used optimal matching in the MatchIt package to match cases to controls on several variables. Matching was done in a 1:1 ratio, and balance was achieved.
I then did a Kaplan-Meier analysis with a log rank test in the R survival package. A reviewer has said I need "the log rank test should be ... |
Today, after learning about performing $PCA$ using $SVD$, I know $PCA$ will choose $K$ components that have the highest eigenvalues. I have a question which feature will correspond to which eigenvalue?
I mean, I have data matrix $\hat{\mathbf{X}}$ have list columns, each column name correspond with one column in $\hat... |
I am trying to understand when are Cox models still informative and useful even when the proportional hazards (HR) assumption is violated and came across this interesting answer. It includes a link to this nice paper:
Stensrud MJ, Hernán MA. Why Test for Proportional Hazards? JAMA.
2020;323(14):1401-2.
https://jamanet... |
Suppose I have two dependent variables X and Y which depend upon an independent value t. I would like to model corr(X,Y) ~ t so that I can detect if the correlation between X and Y changes over time. Specifically, I want the correlation to be conditioned on t and linearly (or more generally smoothly) varying with t, bu... |
Here's the code for these graphs
par(mfrow=c(1,3))
plot(lm.all.income.factors, which=1)
qqPlot(lm.all.income.factors$residuals, id=FALSE, main="QQ Plot")
plot(lm.all.income.factors$residuals, main="Residuals vs Order")
Also I'm not quite sure how to fix the QQ Plot: it looks like the data is skewed. Perhaps a non-lin... |
I'm new to statistics. I have data that measures the effects of two different drugs (A and B) on the size of rabbits. The data consists of triplets $(\textrm{dose}, \mathrm{size}, \mathrm{type})$. I'm trying to run simple linear regression so that I could seperately get the slope (regression coefficient) of the drug A ... |
I am comparing several age groups on one latent factor with SEM in lavaan. The model shows strict invariance and i want to compare the latent means of the different age groups. To do so, i also want to use the 84% CIs of the latent means of the different groups. As the mean of my reference group is 0, how am i supposed... |
I've created a classification model that predicts whether a design will succeed or fail. It returns the probability of success, rather than the actual classification label (e.g. 0.68 instead of 1). My supervisor has asked me to add a "Recommended action" panel, which tells the user whether their design has good chances... |
Should the kaplan meier curve of an training data match the kaplan meier curve from the output of a Weibull AFT model?
This question is referring to the linked question above. The accepted answer explained that there's a bias toward the median output so the Kaplan Meier curve from the output doesn't match with the trai... |
Let $(X, Y)$ be a randomly drawn sample of $n$ paired observations from a bivariate continuous population. It is clear that each pair is independent of the others, both pairwise and mutually. Let $R(X, Y)$ be the same data converted to ascending ranks without ties, e.g., the $i^{th}$ smallest value in $R(X)$ is replace... |
Let’s consider a convolutional layer, taking filters (matrices used in convolution), vectorizing them, putting them into matrix $A$ and computing it's rank. Does it makes sense to remove $|filters|-rank(A)$ filters from this layer (these that has $0$ or low singular value)?
|
Suppose we have a collection of bivariate random variables $X_{1i}$ and $X_{2i}$ indexed by a continuous variable $t$ such that, for the vector ${\bf{X}} = (X_{1i} \ X_{2i})^T$ we can assume
\begin{equation*}
{\bf{X}} \sim {\bf{N(\mu}}(t_{i}), {\bf{\Sigma}}(t_{i}))
\end{equation*}
for some unknown 2-dimensional vector ... |
Lets imagine we have a data set with N data points, where the cost to "process" a data point is pretty high. Because of this, the processed N data points come in one by one. From this "streaming" data we produce a confidence interval describing the data.
As the data streams in, a user will see a confidence interval cor... |
Problem
If I have to rearrange $n$ items (which some of them are identical), taking the order into account and only selecting the first $k$ items of every permutation, how many permutations do I have in total?
Example
Say, I have the $n=5$ items, $\{\text{orange}, \text{orange}, \text{red}, \text{blue}, \text{blue}\}$,... |
I am new to forecasting and have been using the fpp3 package and Hyndman's to practice on some fabricated data I obtained online. I have a specific challenge related to handling 0 values in my dataset.
Here's the context: I have three years of daily sales data for a retail store. The store is closed on weekends (Saturd... |
In supervised machine learning, we are given a set of data
$\{x_i\}_{i=1}^N$ where each data is associated with a label $\{y_i\}_{i = 1}^N$.
We would like to create/train functions $f$ to do several things.
create a best-fit curve: $f: x_i \to y_i$ such that a metric (training error) is minimized.
regression: assign... |
I have a various files, all containing data at 1-minute interval. File structure is as follows where D/T represents Date-Time, C1 and C2 are like constants in this task.
D/T AB EF C1 C2
20100101W00:01:00 112 25 1100 1910
20100101W00:02:00 121 37 1100 1911
20100101W00:03:00 119 36 1101 1912
20100101W00:0... |
I am going through Bayesian Modelling and Computation Chapter 2 which covers Exploratory Analysis of Bayesian Models. I am having some trouble wrapping my head around Bayesian u-values:
They define the bayesian p value $p_{B}$ as the probability that simulated test statistic $T_{sim}$ is less or equal to the observed t... |
I have a non linear regression model that is based on an exponential decay function. When I try to add a confidence interval, instead of using the models in built 'confidence interval' prediction functionality, I wanted to do so manually. I get my model params and their standard errors, then calculate the prediction us... |
New here so apologies if I'm not doing this right.
I'm writing up a research paper and my advisor/statistician provided me the following data to report in this paper. He said he completed a variance weighted least squares regression on our data. With all my googling I can't figure out what any of these values mean, and... |
In an extreme (and probably impossible) example, could you not end up with all the power for the prediction being contained in the weights to the right of the embeddings layer?...and thus the matrix to the left of the embeddings(and therefore embeddings) would be useless?
|
The problem
Two different tools $M1$ and $M2$ are supposed to deliver a certain amount of volume of a liquid but in different ways. Furthermore, the efficacity of the tools to deliver this volume decreases (slightly) with the time. We want to show that the process M2 is better than or equivalent to the process M1. Ther... |
I have some data on the number of items on tree branches and want to model a regression to predict the number of items from the branch diameter and the position in the crown (in/out, top/mid/bot).
We sampled the branches so that we can use every sub-branch of each sampled branch as a separate data point with the same p... |
Please correct me if I'm wrong but as I understand it, one iteration (?) of doc2vec takes each document and predicts a series of randomly sampled context words individually, feeding the errors from the prediction of each word back in to the network to adjust the weights.
Does iteration 2 predict a second randomly samp... |
I know that if $U$ is a uniform r.v. in $(0,1)$, then $U^a\sim Beta(1/a,1)$ with $a>0$.
On the other hand, if $U_{(1)}\leq \cdots\leq U_{(n)}$ are the uniform order statistics, then, with $U_{(0)}=0$ and $U_{(n+1)}=1$, we have
$$(U_{(i+1)}-U_{(i)})_{i=0\ldots n}\sim Dir(1,\ldots,1)$$
My question is: Can we say somethin... |
Hello can you help me to analyze responses to a survey and a test? I have to measure proportion of answers correct, because some individuals were given more tests than others.
I want to compare age of the individuals to their proportion correct and was thinking of doing a chi-square test for this?
Then I have a Likert ... |
Power analyses allow one to determine the minimum sample size required to detect a certain effect (when there is one)
To calculate power, one determines the minimum effect one wants to detect
With NHST, I can set this with library(simr), and calculate the lowest sample size needed to find a significant result to rejec... |
I am using NIPALS (non-linear iterative partial least squares) to get the loadings and scores from a PCA analysis. The reason I am using NIPALS rather than singular value decomposition is because NIPALS can accommodate missing data. Since, my data is very large 50000 by 300 it takes a lot of time to compute each the lo... |
When doing the Coxph analysis with the variables selected from an excel file, it gives a numerical result indicating the HR of each one of them according to the reference one. However, when I represent it with the ggforest function, the graph I get is the following (all the categories of all the variables are shown as ... |
I'm trying to understand if/how the chi-square test relates to simultaneous confidence intervals for multinomial proportions. It doesn't relate to a practical problem to solve, so this is just a speculative/theoretical question, but please tell me if I'm on a completely wrong track.
Let's say I have a two-way continge... |
I want to predict mortality so minority class (dead=1) is important for me but my XGBoost model performing poorly for this class. In other words, the model performed the opposite of what I wanted.
the code:
df=pd.read_csv(data)
X=df.drop('label',axis=1)
y=df.label
X_train,X_test,y_train,y_test=train_test_split(X,y,test... |
I would like to compare birth weight of babies in the general population with the birth weights measured in my research sample (birth weight from babies delivered by mothers on a specific drug treatment).
The birth weight in the general population follows a normal distribution. My own research sample is small (24 babie... |
I have been working with the attached data. Using the (wonderful) metafor package I fit a random-effects model, which generates the following outcomes:
rma(yi=yi_diff,vi=vi_diff,data=tempdat)
Random-Effects Model (k = 6; tau^2 estimator: REML)
tau^2 (estimated amount of total heterogeneity): 0.3168 (SE = 0.2768)
tau... |
I am conducting a meta analysis and am looking into how to convert coefficients (with SEs) from a GEE linear estimation into a standardized mean difference, Cohen's d. Does anyone have any hints on whether and how this might be possible?
I found a similar question here but no response:
Calculating Cohen's d from standa... |
Given two (generally correlated) sources $X,Y$, Slepian-Wolf coding is a protocol that shows it's possible to encode them separately, then have $X$ send $Y$ only $n H(X\mid Y)$ bits of information, and have $Y$ still be able to fully decode the $n$ bits produced by $X$.
In other words, the goal is for $Y$ to know the s... |
I have four timeseries and one of which is a reference timeseries . My objective is to remove the influence of the reference timeseries from Series 1, 2,... and 9, respectively, by using their linear regression. In the end, I will have new Series 1, 2,... and 9 that are "free" from the influence of the reference timese... |
Let's say we are given a one dimensional FFNN $f_N: \mathbb{R} \rightarrow \mathbb{R}$ with hidden dimension $N$
$$f_N(x)=W_1\phi(W_2x+b_2)+b_1$$
with $W_2 \in \mathbb{R}^{N },b_2 \in \mathbb{R}^{N},W_1 \in \mathbb{R}^{ N},b_1 \in \mathbb{R}^{ }$. Let $f$ be continuous in $[0,1]$. If $\phi$ is not polynomial we know th... |
I'm referring to this image present on this page :
My question is, why we don't correct $R_t$ with the importance sampling ratio? At the end of the day, that return is sampled according to $\pi_{old}$, not $\pi$...
|
I'm currently going through some lecture notes in the field of Bayes optimization and I'm currently looking at a expression looking like this:
$$\mathbb{E}_{x^*} \left[\mathbb{E}_y\left[\left\{\mathbb{E}_{x}\left[f(x^*,y,x)\right]\right\}^n\right]\right]$$
Where in this problem $n$ is a very small number since we later... |
I am studying the paper "Weight Uncertainty in Neural Networks" by Blundell et al (2015, on arXiv), and there is a formula I don't get page 4, namely formula (3) in step 5:
I don't understand how they obtain formula (3). Moreover, it looks like with chainrule, I have $\partial f(w,\theta)/\partial\mu = \partial f(w,\t... |
I want to compare the distributions of two different groups to determine if they are statistically different. Here is an example:
x = [839,1186,458,465,146,79,247,379,626,64];
y = [493,252,168,162,94,93,87,77,59,44];
where such vectors represent the observed frequencies for ten different categories.
To perform the com... |
An analytic platform takes a sales data and runs it against individual external indicators ( macroeconomic, climate data etc.) to find the predictive indicators. For a given indicator, they calculate the correlation between the sales data and the indicator (with its lags), the lag which gives the highest correlation i... |
I have been going through "Sutton & Barto Book: Reinforcement Learning: An Introduction", and in "Chapter 11: Off-policy Methods with Approximation", Example 11.1 briefly discusses counter example given by Tsitsiklis and Van Roy in their paper "Feature-based methods for large scale dynamic programming" (https://link.sp... |
I am interested in finding out the graphical causal structure. Causal Discovery algorithms (e.g., DAG learning) are used to identify potential causal graphs. In score-based causal discovery methods, many model scores such as AIC, BIC, and DIC have been utilized to compare models and to pick up the best "causal" graph. ... |
I am trying to predict an average time-serie by linear combination of two average time-series using a linear-regression. To assess the quality of the fit, I'm using a 5-fold cross-validation by training the model on an average of 80% of the repetitions before testing it on the average of 20% of the left-out repetitions... |
I created three (100x100) synthetic images using values randomly drawn from a Dirichlet distribution as shown below. Each image represent the abundance values of some surface components (soil, water etc.) for a mixed pixel in remote sensing imagery.
The images are generated in order to test a spectral unmixing algorith... |
Suppose $f\mid\mu, F\sim N(\mu, F) \in \mathbb{R}^n$, where $\mu , F$ are both random (random vectors and random matrix respectively).
What is the correct way to derive $Var(f)$?
First, let $\tilde{f} = f - \mu$, I obtain:
\begin{align*}
E[ff^T] &= E[(\tilde{f} + \mu)(\tilde{f} + \mu)^T]\\
&= E[\til... |
recently I am studying PF. And I am stuck in APF for a few days, though I derived many times. Here is my question:
I followed the framework of this paper. The APF is defined in Algorithm 1:
The authors define the weight function $w_n(x_{n-1:n}) = \frac{p(y_n|x_n)p(x_n|x_{n-1})}{q(x_n, y_n|x_{n-1})} = \frac{p(y_n|x_n)p... |
I am trying to implement a sequence-to-sequence variational autoencoder that consists of two parallel sequence encoders. One of the encoders is based on a standard normal prior as in the vanilla vae (1). The other encoder uses a prior parameterised by another LSTM which is common in dynamical vae (DVAE) literature. As... |
What is the correlation of a bivariate normal distribution after truncating the tails of both variables at $\alpha$ standard deviations?
In symbols, what is $$E\left[XY\Big|X| \leq z_{\alpha/2}, |Y| \leq z_{\alpha/2}\right]\ ?$$
I’d like a formula for this; for now, here is a computation in R with $\alpha = .1$ and $\r... |
I need feedback to check whether rainfall is an appropriate instrumental variable. Before you boo me out, hear what I have to say.
There are two countries: A and B. A and B are 2000 miles apart.
My hypothesis is that industrial activity in country A is an important source of mortality for its own citizens. I worry that... |
I wish to conduct a power analysis using the bootstrap method to find the difference in means of two groups. I wonder how we can calculate the "power" if we do not know in our data, the null is indeed false. In the book, An introduction to the bootstrap Book by Bradley Efron, the probability of rejecting the null hypot... |
I am studying linear regression. I want to ask is the linear word in multiple linear regression refers to the linear relationship between the target variable and each of the regression coefficients b_0, b_1,b_2, ..., b_n? Also in multiple linear regression there is a linearity assumption does this assumption refers to ... |
I am looking into e-commerce page sales data, and I am wondering if pearson correlation analysis can be done on data set like below.
Each of the variable (e.g., conversion rate, CTR) is based on 10000+ data points. There are 10 pages to analyze. I am curious to see things like if conversion rate is related to Click thr... |
I'm trying to estimate the power of a 3X3 longitudinal mixed effects model with 3 groups, 3 measurement timepoints, and participant ID as a random intercept.
I know that using the "ANOVA repeated measures within-between interaction" design (as shown below) isn't exactly right, but I'm wondering how close it is to the p... |
I had a question about how to perform an odds ratio when the group has an exclusion criterion. Let's say I am trying to find the association between surgery and suicide. I wanted to control for people that attempted suicide prior to surgery by excluding them. For clarity, I will use the notation surgery/suicide to repr... |
Does anyone have any idea how to solve this?
Question 2:
Assume the following characteristics of the inspection process in Ex. 1 (see below). If an operator checks a bolt, the probability that an incorrectly bolt is identified is 0.95. If a checked bolt is correctly torqued, the operator's conclusion is always correct.... |
I have two different CNNs trained on the same dataset. One performs a bit better than the other but I believe each can provide different and useful information.
I use pytorch. Each model consists in convolution and pooling layers, followed by a couple of linear layers and a final linear layer that acts as classifier (o... |
Consider data generated from a directed acyclic graph (DAG) of the form X<-Z->Y. Based on d-separation of DAGs, X is independent of Y given Z: X_||_Y|Z. If X, Y and Z are multivariate normal, then the following three methods of testing for conditional independence give identical results:
test for a zero partial corr... |
I am working on a project where we are injecting mice with a virus to induce gene deletions and cause tumor formation. We developed a new gene deletion method and want to see if it causes tumors to grow faster than the standard method. Would a KM curve be ideal for this? And how can we determine if the difference in ... |
This should be a simple question but I'm having a hard time finding an answer.
Assume I have some data $y$ with covariates $X$. This set of data was obtained via a simple random sample. I want to perform OLS to get an estimate of a function for $E(y | X)$.
However, say some values in $X$ are missing for some observatio... |
I'm learning about Wright's path-tracing rules, and because they deal with covariances it seems like they make the assumption that relationships between variables are linear. If we have nonlinear relationships between variables, can we still use these path-tracing rules to help us determine which variables are good and... |
I am doing a problem from Mark Joshi's Quant Job Interview book, just to have some fun with probability.
The (paraphrased) question is as follows:
Suppose I throw a dart at a circular board of radius $R$. For the sake of the problem, we will assume that we always hit the board, but we are equally likely to hit anywher... |
I have an ML model for insurance risk with output such as
Score bin
(probability score scaled) Total records Total bad Bad rate Precision
0-100 100 2 2/100 50%
100-200 100 3 3/100 66%
200-300 100 ... |
I'm working on a moderation analysis where we have two continuous predictors and two similar continuous responses. Our theoretical view is that both predictors should have significant associations (per-specified directions) with the responses as well as their interaction.
My question is, how should I orient the hypothe... |
I am reading about the IC and IC* (Inductive Causation) algorithms for discovering DAGs from observations. The first step of the algorithm is for each pair of variables a and b, search for a set of variables S such that a and b are conditionally independent on this set S. Given these variables are scalar values and th... |
I have a 3X3 repeated measures ANOVA with 3 groups and 3 measurement timepoints. In addition to the omnibus effect, I am interested in comparing the difference in change within two timepoints between two groups. How should I calculate the sample size I need to sufficiently power that follow-up test in G*Power? Would it... |
I have a dataset with one response variable and one explanatory variable. Here is my zero-inflated Poisson model with a Bayesian approach.
bayes_mod_string = " model {
for (i in 1:length(response)) {
response[i] ~ dpois(mu[i]) # the response variable follows a Poisson distribution
... |
I'm working with this data set trying to implement a model to predict the variable normexam. I've used the following models on sklearn, adding dummies for categorical variables, and got the following training and tests accuracies and MSE:
Linear Regression
Train score: 0.4724095680342516
Test score: 0.471581452085185... |
Panel data: subjects' value are repeatedly measured over time points. Suppose the first half was the pretest (grp=0) and the second half received the intervention (grp=1).
Take this post as an example:
ID | time | grp | value |
s_1| 1 | 0 | Q_11 |
s_1| 2 | 0 | Q_12 |
s_1| 3 | 0 | Q_13 |
s_1|... |
Basically, I reduced a mixed effects linear model from 16 total factors/interactions down to 7 with most remaining factors being 'significant' (~ .05) or highly relevant to the design (and still close to .10). It looks good and it is theoretically sensible. BUT if I test at least a few of those factors by themselves, t... |
A motivated bug with poor depth perception needs to cross six square tiles placed in a line. She needs to cross the tiles in sequence from 1 to 6. After sufficient training to develop totally random crossings with complete tiles, each of the tiles now has the right margin of the tile removed in the following order fr... |
I wanted to get some ideas around how I can implement this project.
I have a dataset having 3 columns, 2 categorical columns A and B and a column Count. This data is generated every 5 mins in a different file with timestamp. I want to predict the next 5-6 iterations based on previous data for each combination of A and ... |
I have view this .
But C2f only has single output tensor.
What is the meaning of the connection between Backbone and Head in the diagram? Is it a copy of output which is also connect to the Conv below?
Those connection has label 80x80x256xw; Stride=8, 40x40x512xw; Stride=16,
What is the Stride means here, because for C... |
For a research project, I have spatio-temporal panel data with an continuous independent variable varying over time and cross-sections, i.e. countries. I have recently read this paper by Papadogeorgou et al. and I would like to apply their methods. I have limited experience in econometric coding, so I was wondering if ... |
Imagine a study in which the time until some kind of uptake of aftercare is measured; there are two treatment groups (intervention vs. control). I want to know whether the treatment has an effect on the time until uptake of aftercare, but am not particularly interested in the event probability itself (which of course h... |
For a Poisson process having rate $\lambda$. Given the number of events by time $T$ the set of event times are iid Uniform $(0,T)$ random variables. Suppose that each event are independently counted with probability $\lambda(t)/\lambda$. The times of these counted event have a common distribution, $F(s)$, where
$F(s) =... |
sample code:
set.seed(123)
n = 500
x = rnorm(n)
a = -5
b = 0.5
y = exp(a + b * x + rnorm(n))
plot(x, y, pch = 20)
m = glm(y ~ x, family = gaussian(link = "log"))
sample_coefs = MASS::mvrnorm(n = 5000, mu = m$coefficients, Sigma = vcov(m))
sample_x = seq(-4, 4, 0.05)
sample_lines = sample_coefs |> apply(1, \(pars){ex... |
For example, if I specify a z-value of 3, then I would look at both sides and know its position in the distribution (99.73%).
Would this change if I have a left or right skewed distribution? Would I have to choose a lower threshold for the positive or negative calculation of the z-value to fall into the actual range of... |
Here's a multiple choice question that was asked at an exam.
You are tuning a linear classifier that you suspect is overfitting the data. Which of the following choice is most likely to aggravate the overfitting ?
Increasing the number of features
Decreasing the number of features
Applying a stronger regularization ... |
In this question it is derived that if X, Y are correlated Gaussian variables, the mutual information between them is given by
$$ I(X;Y) = \log\left(\frac{\det(\Sigma_X)\det(\Sigma_Y)}{\det\Sigma_{XY}}\right) $$
where $\Sigma_X,\Sigma_Y,\Sigma_{XY}$ denote the covariance matrices of X, Y and X,Y jointly, respectively.
... |
I am new here so I hope this question is expressed properely. I would like to compare a summary of factorial ordinal experiments with e.g., 4 concentrations to studies using a continues vector IV. To do so, on could log the DV $log(y)$ as well as the IV ($log(x)$), as such $log(E(y|x))=\beta\cdot\log(x)$ (or log as lin... |
Possibly related to Log posterior probability in MCMC is decreasing but I do not have a MCMC process and the details there are not sufficient for me to understand fully (I'm a mathematician with basic statistical knowledge).
I am playing around with Bayesian Optimisation (in Julia) and wanted to set up a standard schem... |
I have 2x10 observations that follow a non-normal distribution. They are perfectly distributed on log-scale.
From what I've learned, the back-transformation of the mean on log-scale should be a "good enough" median on normal scale.
However, with 10 observations, these two are not exactly equal (390 vs 440). I am using ... |
Given:
$$\begin{align*}
&\epsilon \sim N(0, \sigma^2),\\\\
&\theta \sim N(0, \eta^2I), \\\\
&\text{And } y^{(i)} = \theta^T x^{(i)} + \epsilon^{(i)} \\\\
\end{align*}$$
Why:
$$y^{(i)} | x^{(i)} , \theta \sim N(\theta^T x^{(i)} , \sigma^2)$$
or
$$y | x , \theta \sim N(\theta^T x , \sigma^2)$$
In other word, why given x,... |
Given some samples that each containing thousands of data points, I want to compare which sample is drastically different from other samples. Since the sample size is big, any statistical tests will just say the differences are significant.
The five sample means are [27.5,22.3,20.2,18.9,18.4]. What I really want to mod... |
I am measuring companies' sustainability score over time, to see if it increased or decreased after the introduction of a regulation (exogenous shock) I only have one dependent variable and time as independent variable. Which regression makes more sense?
|
I have done many simulations under the null hypotheis to test the alpha level of a test which follows a normal distribution.
However, the results obtained vary by 2-3%, which seem to me a lot when trying to evaluate the alpha level. Sample size was 2000 individuals. (With 4000 individuals, results vary by 1-2%)
It seem... |
Let there be a bag with arbitrarily many balls in k colours (presume we know k). There is a set (but unknown) probability p1, p2... pk of drawing a ball of a given colour. I take a sample of g balls (replacing each ball after drawing it), and get some frequency count of each colour.
Based on this sample, how might I go... |
I am trying to create a Bayesian Optimisation code with a Gaussian Process. My input data, $\vec{X}_i$ is 8-dimensional, where each dimension corresponds to a feature of my data,
$\vec{X}_i = [\alpha_1, \alpha_2, ..., \alpha_8]$.
I plan to use the RBF kernel function to define the covariance matrix.
Is it correct that ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.