instruction
stringlengths
9
38.7k
I am coming here hoping for help, which I could not find anywhere else. I am a physician doing research on prognosis of patients with certain autoimmune disease. Currently, there is variety of definitions of “response” to the current standard of care, however, no information is known about which one of these definition...
I am doing sem with lavaan in R, and I found that even I don't input the bootstrap parameters, the output of sem will give me the standard error by default. I am wondering what is the difference between the default output standard error and the bootstrapped standard error?
Assume that learning algorithm $A$ is fixed. Let $D = \{(x_1,y_1),...,(x_N,y_N)\}$, $F$ is set of a data-generating functions(meaning $f \in F$ then $f(x_i) = y_i$ and that functions in $F$ are consistent with the data )and $h:X\rightarrow Y$ is a classifier trained by the algorithm $A$. $L(f(x),y) $ is 1/0-loss functi...
(I apologize if this is off-topic. Also, I've read the numerous questions here about standard deviations, but I believe my question is different.) I've read the 7th edition of the Publication Manual of the American Psychological Association and it doesn't seem to mention how it defines the abbreviation "SD," that is, ...
I am trying to run a Poisson fixed panel effects regression using xtpoisson in Stata where my outcome variable is binary. For a majority of my units, the outcome is 0 for the entire duration of my panel. However, when I run xtpoisson, Stata automatically omits all such units. I have the same problem when I run a xtlogi...
Since I am quite new to this topic I have a question regarding bootstrap techniques in R. I should generate a 10,000 bootstrapped time series by drawing with replacement from the residuals. This bootstrap should procedure not only preserves the autocorrelation structure of the predictor variable, thereby being valid un...
I have recently been introduced to the kernel mean embedding of distributions, that is the map $$\mu: \mathcal{M}^{1}_{+}(X) \rightarrow \mathcal{H} \\ \mu(P) := \int \phi(x) dP(x)$$ where $K$ is a positive definite kernel with feature map $\phi$ and corresponding RKHS given by $\mathcal{H}$. I am now interested in wha...
On Wikipedia (https://en.wikipedia.org/wiki/Pareto_distribution#Pareto_types_I–IV) one can find the relation between the different types of Pareto Distribution and the Generalized Pareto Distribution (Type IV). A more appropriate explanation on the relation between types of the distribution can be found in the book: ht...
So I just learned about AUROC. When I read this thread, it seems like AUROC is not a great metric for imbalanced dataset. One answer even says it shouldn't be used to compare models. However, I am confused because research papers use AUROC to test models for MIMIC-III code prediction, which is a highly imbalanced datas...
With reference to this answer which states that chi square test is less powerful compared to other statistical techniques. Can someone shed some light on power analysis of different techniques like Z test, t test, chi square test, anova test, or other statistical techniques. Also, why/how is one test powerful compared ...
Decades ago improper objective priors - e.g. $\pi(\sigma) \propto \sigma^{-1}, \sigma > 0,$ for a scale parameter - were considered problematic because some authors thought they were leading to the so-called "marginalization paradox". It seems that this issue has been resolved by Jaynes in his book Probability Theory -...
In the dataset I need to analyse, I need to look at whether the effect of people's profession (3 categories) on their scores on a test (I have already tested for this effect and found one) differs across levels of a second categorical variable (whether they work at home, in person, or a mixture). I'm struggling to wrap...
I'm new here, please bare with me. Now I was calculating the t-value to get the probability and check the significance of the slope of a regression equation. I don't have a stat calculator (I can't afford it :|), so I calculate all my values manually. Why I'm stressing on this is because I'm completely dependent on for...
I have a data set similar to the one below. The real data set has 89 values in each column. I'm looking at the expression of RNA between two different treatments (treatment $X$ and treatment $Y$). GENE Xtest1 Xtest2 Xtest3 Ytest1 Ytest2 Ytest3 0 FOXO 34 193 12.0 23 23 1 ...
What is this alphabet (a,b,c) and what does its combination mean in the table? I have read a lot of literature similar to my work and it shows that most of the researchers have used different superscript letters a, b, c, and d along with the data. It is written "the values with different superscript letters in a column...
I'm taking a course on time series currently and have been slightly confused about the interplay between unit roots and stationarity in a question I've been attempting to answer. The question set up is a GARCH($m,s$) model of the form $$y_t=\mu + \varepsilon_t$$ $$\varepsilon_t = \nu_t \sigma_t \quad \quad \nu_t\sim N(...
Suppose $f_n(x)$, $g_n(x)$ are convex functions w.r.t. $x$ the optimal point of the two problems $\min_x f_n(x)$ and $\min_x g_n(x)$ have asymptotic normality as $n \rightarrow \infty$ they converge to the same point $x_0$ $$ x_1 \overset{p}{\sim} N(x_0,\frac{1}{n}D_1), \quad where \quad x_1 = \arg\min_x f_n(x), $$ $...
In statistics used in particle physics, one often says that whatever is not the parameter of interest, is a nuisance parameter. For example, wikipedia : https://en.wikipedia.org/wiki/Nuisance_parameter " a nuisance parameter is any parameter which is not of immediate interest but which must be accounted for in the anal...
I am currently performing a meta-analysis of hazard ratios (HR) in the R studio. Given high degree of the between-study heterogeneity (I² was around 65%), I have decided to perform influence analysis to possibly identify the reason of that heterogeneity. However, I got very confusing results. By looking at the forest p...
Would likelihood-based frequentist inference amount to the same as Bayesian inference, but where the "frequentist prior" $\pi^F(\theta) = \delta_{\theta^*}(\theta)$ with $\delta_{\theta^*}$ being the Dirac distribution centered at $\theta^*$?
I try to predict the result of an personality type test based on how people answered. My sample consists of the answers which range from 1 (strongly disagree) to 7 (strongly agree). Six answers lead to a result. I have the results and answers of 80 people. An example of my dataset looks like this: Name AnswerQ1 Ans...
The following map shows a density-coloured grid of observations of American black bear reported on iNaturalist. In the top half of the province you can see a loose boundary of observations around an interior region. This boundary is due to observations tending to be done along highways 16, 29, 37, and 97 that bound thi...
What is F-test value in significance test for Linear Regression when $R^2$ is equals 1?
So it is often advise to use Generalized Least Squares when we have a regression model with non-spherical(i.e. heteroskedastic or autocorrelated) errors. We do so by doing a weighted regression $$ (y-x\hat\beta)^TW(y-x\hat\beta) $$ with $W = \Sigma^{-1} = Cov(\epsilon)^{-1}$, the inverse of the covariance matrix of er...
I have two datasets from different years (2020 and 2021) that I needed to merge because my sample was too small. I'm investigating which morphological features (sex, age, weight, fat reserves and muscle mass) from a migratory bird species affect the number of days they're staying in a determined area before leaving for...
Í have a dataset with two categorical variables: let's say "city type" (categorical) and "living crampedness" (ordinal), and one discrete dependent variable ("house square meterage"). I'm supposed to analyze whether the two independent variables explain or have a relationship to the dependent variable. Any tips on how ...
I am trying to implement next position predictor base on machine Learning algorithms.I want to know how can i start building my model ?
I'm trying to work out the details of the proof of the following statement: Suppose $\xi_t = \rho \xi_{t-1} + \epsilon_t$ is an AR(1) process. Using Kalman filter, one can prove that $\mathbb{E}_t\{\xi_t\}$ follows an AR(2) dynamics with: $$\mathbb{E}_t\{\xi_t\} = \left(1 - \frac{\lambda}{\rho}\right) \left(\frac{1}{1...
Given this: In a simulation exercise, regression model ($Y_i = B_0 + B_iX_i + \varepsilon_i$) applies with $B_0 = 100$, $B_1 = 20$, and a $\sigma^2 = 25$. ¿How can you state the exact probability that $Y$ will fall between 195 and 205?. I was given this question and I don't know how to solve it. Please, some guidance o...
I have to forecast the amount of cars sales for the next 12 months. The data I have gathered are from 2013-2021 (108 months). This is what the plot of my data looks like using Rstudio and its function plot.ts(): We can see the mean and the variance are not constant - so I tried the log, root and Box-Cox transformatio...
I aim to use a variational autoencoder (VAE) as a generative model. Does this make sense only if the reconstruction loss converges towards zero? On a project I'm working on, the loss is getting reduced but at some point it won't converge to 0. Epoch 1 of 1000 100%|██████████| 506/506 [00:07<00:00, 63.36it/s] Train Loss...
I am looking to generate a series of Chow F statistics for an inflation rate series. I am using the strucchange package. Specifically, the Fstats() function. I want to calculate the Chow F statistics using an ARMA(1,1) model on the data. I am not sure how to go about this using the function. Also, I would like to under...
I know that in general, given a (stacked) regression of the form $ y = X \beta + \epsilon$, where $\mathbb{V}(\epsilon_i) = \sigma^2 \forall i$, then letting $\hat{\beta}$ denote the OLS estimate of $\beta$, \begin{equation} \mathbb{V}(\hat{\beta}) = \sigma^2 (X'X)^{-1} \end{equation} This I understand. In my econometr...
I have a table of counts with 4 columns and 25 rows. What statistical test should be used to asses significance for values within each row? In other words I want to perform significance testing on individual rows to see if there is homogeneity. I was thinking of something similar to rowwise ANOVA, except I have counts ...
I have data on 3 species of fish that we fed 2 different types of food and we measure the eggs they lay (number of eggs are a coefficient, but that's not important for this question). The fish species are fictious (we don't have blobfishes). The data looks like that: eggs species food 2.7 Goldfish A 2.4 Goldfish A ...
I am building Variatonal Autoencoder and right now for encoder I am using EffNetB0 architecture, which is simple to implement into encoder. For decoder, I have built my own architecture with 8 CNN filters. Results are quite good, but still I believe that decoder is too weak and would like to try a deeper network. It wo...
I have multiple images with 1 band/channel. This of an RGB image, then I only have the blue band/channel. In other words, multiple 1D datasets, or multiple 1D arrays. I would like to statistically compare each pair of images where a pair means two successive images. Each image contains about 50,000 pixels or values. Th...
I have an imbalanced dataset; 95% negative class and 5% positive class. I split my data into train (80%) and test (20%) sets. I am using 5-fold cross-validation on the train set to determine the optimal hyperparameters. I'm unsure how to determine the optimal threshold with cross-validation. Does the following process ...
I have to predict whether the shot will be disruptive or non-disruptive. What I have is time-series data of both the types of shots and I want the model to predict using initial period data whether it will be disruptive or not?
In Bayesian Data Analysis 3rd edition chapter 14 on linear regression they write Since the explanatory variable is restricted to lie between 0 and 1 (recall that we have excluded uncontested elections from our analysis), it would seem advisable to transform the data, perhaps using the logit transformation, before fitt...
I have two questions (Q1, Q2) and they can be answered with either Yes or No. I want to test if there is a significant difference between the answers to Q1 and Q2, because the questions are related to each other: Q1 Do you current fulfill X tasks? Q2 Are you interested in X tasks? Current? Interest? Yes 10 15 ...
Assume I have some d-dimensional multivariate gaussian $X\sim\mathcal{N}\left(\mu,\Sigma\right)$ and some sphere $C=\left\{ x:\left\Vert x-z\right\Vert_2\le r\right\}\subseteq\mathbb{R}^{d}$. I was wondering if there is a closed form expression that measures the probability mass inside the sphere: $$P\left(X\in C\right...
Suppose I have a random sample on a Bernoulli random variable $\{X_i\}_{i=1}^N$ generated from model $p=\sum_{k=1}^K\pi_kp_k$,where $p\equiv Pr(X=1)$ and $p_k\equiv Pr(X=1|k)$, and $\pi_k$ are the mixing weight satisfying $\sum_k\pi_k=1$. Can we use the Dirichlet process to simultaneously estimate the number of mixture...
By definition, internal covariates 'exist' or can be recorded as long as the study participant is alive. Let's say we have an internal covariate that is continuous in nature. Given that, would splitting at failure times and using restricted cubic spline to model this time-dependent internal covariate be appropriate?
I'm doing my undergraduate thesis on an experimental design of the incrementality of clicks using Google Ads vs not using Google Ads. I've created a geo-experimental design, where I've made a split of cities in a country into two equal groups through stratified sampling to create two as equal groups as possible. Then I...
I have data in the following format: Concentration speed height distance control 1.5 3.1 13.1 0.1 1.9 5.4 13.5 0.2 2.3 9 16.7 0.4 2.7 13.1 21.2 I am confused as to what test I should use to see if there is statistical significance in terms of speed, height, and distance as the concentration is increas...
I have some questions all related to SEM models. I am just estimating a SEM model in R using the function sem. The model looks like this: SEMmodel <- ' factor1_a =~ x1 + x2 + x3 factor2_a =~ x39_9 + x39_16 + x39_18 + x39_19 + x39_21 factor3_a =~ x39_5 + x39_6 factor1_b =~ x39_31 + x39_32 + x39_33 factor2_b =~ x39_10 ...
I am currently looking at a DiD model to evaluate the impact of a policy on ethnic and non ethnic people in the EU. I have done the regression and got the results. I have only two time periods but 10 countries. I was wondering what robustness checks I could run? I know for my model the parallel trends assumptions is no...
I have two models for prospect theory utility functions and want to compare their fits. However, I'm not sure if the models are nested or not. The first model is given by: $U(x) = x^α$ for $x ≥ 0$ and $U(y) = −λ|y|^α$ for $y < 0$ The second model is given by: $U(x) = x^α$ for $x ≥ 0$ and $U(y) = −λ|y|^\beta$ for $y <...
I am trying to find the best curve that will describe my data. my data are stored in numpy arrays of t and dur they are both in values only from 0-1. However the best fit I get according to R**2 score is this yellow line with score of 0.979388 which doesn't fit my data because it is way off from expected values when it...
I need help with a clustering task I'm doing. The essence of the problem, there is data on vegetation indices. Simple example for R clu=structure(list(ndvi_mr75_60_40 = c(0.97, 0.97, 0.8, 0.87, 0.84, 0.83, 0.87, 0.78, 0.99, 0.87, 0.85, 0.91, 0.89, 0.75, 0.97, 0.82, 0.97, 0.99, 0.93, 0.94), ndre_m75_60p20 = c(0.4, 0.4...
I want to generate a Gaussan simulated data with dependent error through R. I wrote my code, but I'm not 100% sure that I did it right. Would someone be able to check if I did it correctly? I assume that data $\mathbf{Z}$ is in $\mathbb{R}^n$, $n > 1$, and it follows Gaussian distribution. Then, I let $\mathbf{Z} = \ma...
I have 3 variables in a large dataset: whether students passed their multiple choice portion of their final (binary: pass-fail), whether they passed qualitative portion (binary: pass-fail), and student test taking preference (unordered categorical: multiple choice, written, no preference). The point-biserial correlatio...
Ernst 2004 shows that the permutation tests in the random assignment scheme (e.g., controlled experiment) and in the random sampling scheme (e.g., observational study) share the same constructing mechanics but different reasoning (pages 677, 681). The scopes of inference in two cases are inherently different. I then wo...
I have a doubt on a correlation. I have a research with two hypothesis, the first is studied with a t-test, which is not significant. The second is studied with a correlation, where I need to correlate the difference scores from the first hypothesis with another variable. In the results on the second hypothesis, there ...
I understand that the point of the embedding layer is to reduce the dimensionality of the input space while also projecting it onto a space that represents the similarity between the medium in question (eg. an image, a word, n-gram, etc). What I can't understand is how the embedding vector for each point in the trainin...
Let $X$ and $Y$ be two random variables such that $$P(X > x, Y > y) = \exp\lbrack-(\lambda_1 x + \lambda_2 y + \lambda_{12} \max(x, y))\rbrack$$ What is the marginal distribution of $X?$ Source of problem is here; check problem 11 under section RSII. I'm honestly at a loss for how to proceed. Hints or advice towards so...
How would one calculate the residual sum of squares when given the other values (r, n, sample means of x and y, and both sample variances), but not the dataset? x is the predictor, y is the response. Edit: Found the formula. It's RSS=(1-r^2)((n-1)(var.y))
I have compositional data where for two groups, where each is represented by two ages, there are 100 possible categories for which I observed counts: set.seed(1) df <- data.frame(group = c(rep("g1",200),rep("g2",200)), age = c(rep("a1",100),rep("a2",100),rep("a1",100),rep("a2",100)), c...
Long story short - I am lost among the ways to check for relation (whether there is any) between binary variables. Context - I am working on a side project where I try to analyze marketplace data and see which variables are related to items being sold (the goal is to find out what can be done to sell more items). So I ...
We observe $Y_1, Y_2, ..., Y_T$ such that $T$ is the first $t\geq 1$ for which $Y_t>0$. Define $Y=Y_T$ (a) Find MLE $\hat{\lambda}$. (b) What is the relative bias, $[E(\hat{\lambda})- \lambda]/\lambda$. My attempt (a) We have $Y_1,Y_2,...,Y_{T-1} = 0$. So the likelihood function simplifies to $$L(\lambda) = \prod_{i=1}...
I am using Ljung-box test after fitting an ARIMA model to a time series to investigate whether residuals do look like white noise or not. For this purpose I need to define the degree of freedom in the ljung_box function in R. I am not sure how we extract the number of parameters, is the sum of p, q and the Seasonal P &...
with this data: variable = rnorm(52, mean = 250, sd = 1) lag.plot(variable) I created a lag plot, and I am wondering if I should made some transformation to understand what happen with this series.
A quick overview of definitions before I get into the question: True Positive (TP): An actual positive that the model classified as positive False Positive (FP): An actual negative that the model classified as positive False Negative (FN): An actual positive that the model classified as negative Recall (True Positi...
I am confused or may misunderstand the dimensions of a Matrix when I was reading about time series analysis. From what I understand in linear Algebra, if we have a Matrix $A \in \mathbf{R}^{m*n}$, this means $m$ refers to rows and $n$ refers to columns. But, when I was reading about multivariate time series, the notat...
In computing the Kullback-Leibler KL divergence $D(P\|Q)$ from an empirical data, it may happen that $Q(x)=0<P(x)$ at some sample point $x$ (due to data error -- I put it in parenthesis now, after the helpful discussion below) and $D(P\|Q)=\infty$. What are some good treatments of this singularity from estimation error...
I am wondering what type of statistical test would be appropriate to test for a difference in means between two groups for which each measurement has a different uncertainty. For example, I want to see if there is a significant difference in height when comparing men and women, but each person was measured using a diff...
I want to fit fit a cubic regression spline and select the optimal number of knots via grid search. In other words, I want to find the optimal number of knots that minimizes the average test Mean Squared Error of $$y_i = \beta_0 + \beta_1 X_i + \beta_2 X_i^2 + \beta_3 X_i^3 + \beta_{3+1} (X_i - c_1)_+^3 + ... + \beta_{...
I have the results of RMSE and MAE from different spatial interpolation methods as a monthly averages (See the figure below). As we know, the two metrics I used have units similar to my observed data units (mm rainfall per month in this case). I want to compare the RMSE and MAE results with the monthly averages of the ...
Assume that in this regression $$ Y=\beta_0+\beta_1 x+\epsilon, $$ where $\epsilon$ follows a Poisson distribution. Using OLS, estimate $\beta_0,\beta_1$ and $\text{cov}(\beta_1,\beta_0)$. I am wondering if the distribution of errors changes the $\beta_0$ and $\beta_1$ OLS estimators? If we used the normal procedure of...
When i train a MLP to learn a data map relationship, but i find behavior of the validation loss is very weird. The validation loss increase first and then it decrease with the trainning losss. But the training loss derease all the time.
I was reading a research paper and was wondering if "ds= .56 to .63" was a quantitative means of measuring the study, or if it was related to referencing?
I am trying to make simple median and IQR calculations that involve numbers (in percentages) appearing in a range and inequalities in addition to whole numbers. My sample dataset looks like this: 5, 10, < 1, 10 - 20, 25, > 90 Any suggestions on how I can perform these two calculations on such a dataset?
it's been a while since i studied statistics and im a bit rusty on the topic but im looking for some advice on times series regression. I'm trying to generate a time series regression model where i have one dependent variable(y) and several independent variables(x1, x2, x3, x4, x5); all the variables are in weekly data...
I am running an analysis of impacts of immigration on natives' votes to anti-immigration parties, across municipalities. The concern in this type of analysis is that location decisions of immigrants may be endogenous to natives' support to anti-immigration parties. This is because immigrants may decide to settle in mun...
I am new to GAMs and R. I have a long lists of time series of different lengths. Many of them are incomplete. I have fitted a GAM and use the predict.gam function(mgcv package in R) to each time series with the hope to impute the response variables for years without records (NA). Nonetheless, when I run the code predic...
This was one of the business-related questions from my technical interview last week for a data science position in a recommender system team at a search engine company focusing on advertisement banners. I'm curious what the general response for this question should be. Problem: We have two models for the item recommen...
Reading the wiki I saw the statemeent that: "The distribution of the product of two random variables which have lognormal distributions is again lognormal. This is itself a special case of a more general set of results where the logarithm of the product can be written as the sum of the logarithms" This enters in contad...
From my understanding, a paired t-test is used when samples are dependent of each other. I'm having trouble deciding whether a paired t-test should be used when comparing the average population of a group of animals. Is this data actually independent? I'm trying to decide if it is better for me to use a two-sample t-te...
I analyse an educational policy that shortened mandatory schooling. The rollout of the reform happened over 3 subsequent years in different states ($c=0$ is the last graduation cohort pre-reform, $c=3$ is the first graduation cohort in which every state has introduced short schooling). The treatment is thus assigned at...
When performing orthogonal rotations for a loading matrix in principal components analysis, the mathematical interpretation is relatively simple - rotate the two axes while keeping them perpendicular. Mathematically, this comes out to be | cos(phi) | -sin(phi) | A_rot = A * |----------|-----------| ...
I am using the R package lme4 to build a mixed-effects model. My data is set up in the following way: set.seed(1) df = data.frame(group1 = factor(c(rep(1,36),rep(2,36),rep(3,36),rep(4,36),rep(5,36))), group2 = factor(rep(c(rep(1,12),rep(2,12),rep(3,12)),5)), uniqueid = seq(from=1,to=180)...
When explaining the reason for rejecting a null hypothesis, I sometimes see "p-value is small", and sometimes it's "for a test of size $\alpha$, we reject it when (some condition)". I was wondering if "p-value is small" is a special case of a commonly used/standard (idk how to phrase this) size $\alpha$ test? If this i...
I'm trying to recapitulate a statistical analysis based on a written description of an MMRM used to fit a patient data set. The description is as follows: Dependent variable: area (continuous, float) Independent variables: arm: 2 level factor study_part: 2 level factor m1: 2 level factor m2: 2 level factor m3: 2 level...
In Simon Wood's book Generalized Additive Models (2nd ed.) on page 243, he describes the following procedure for checking that the basis dimension is too small: Fortunately informal checking that the basis dimension for a particular term is appropriate is quite easy. Suppose that a smooth term is a function of a covar...
I have $k$ Machine Learning models, trained on the same training set, and I want to test the hypothesis that their performance on a fresh test set is the same. See EDIT 1 below for what I mean with performance. I'm looking for frequentist answers. Also, I'd prefer an answer that refers to a paper or preprint on this to...
I have a dataset of shape (29088, 11). When I apply the Kmeans where K=2 I get the following plot: Cluster C0 has 8554 points (in blue) and cluster C1 has 20534 points (in red). I am surprised that the value of Sum Squared Error (SSE) for C0 is smaller than the value of SSE for C1 as C0 (in blue) is noticeably distort...
I am trying to train a deep neural network that will always use positive weights and the user will be obliged to enter a feature vector as input that will always be positive (normalized to 0-1). In other words, I am trying to build a neural network that will always use relu, tanh, and not sigmoid (to avoid negative val...
I am trying to implement quantile regression models with R for the first time (I am new to this regression approach). Here is the code that I am running: library(quantreg) qr_models = dataset %>% group_by(lat) %>% do(model = rq(julian_day~time, tau = 0.5, data= .)) As you can see, I have added a group_by condition, s...
There is a normal distribution with EV 100 and SD 20. I take a random number, say 63 How to calculate EV of all values that follow the original distribution but excluding those bigger than 63? In other words, assume there is a test where students score points with EV 100 and SD 20 (quite strange test where negative sco...
I posted this question on math.stackexchange, but did not get an answer and a limited amount of views, so I removed the question there and post it here. Recently I was asking myself some basic questions about the usage of Monte Carlo for function minimization. Suppose we have a finite set $I$ and a function $E :I\right...
In my study, I have data from 2 survey sources (from 2 groups of people). They are very different from each others. A few major differences: First group did not get paid to answer the survey while the 2nd group did (money is the main reason the 2nd group did survey). The number of people who are shown the survey in t...
Three experiments are performed to measure the same quantity $T$. The three results are $$ \begin{cases} T_A = 990\pm 3\\ T_B = 920\pm 30\\ T_C = 950\pm 12 \end{cases} $$ Using a $\chi^2$ test, and assuming Gaussian errors, verify the hypothesis that the three experiments are measuring the same quantity. Can anyone ...
So I have knowledge of Bayesian statistics/econometrics, but I only recently found out about Bayesian Neural Networks. I was wondering what the priors are in a Bayesian Neural Network? And is it possible to give an importance weight to different input features? Or have the ability to shrink features with a prior? Basic...
I read that to assess the assumption of proportional hazards, you can compare the curves of the $ln(-ln(S(t)))$. However, the whole point of the Cox proportional hazards model is that you don't have to estimate the survival function or baseline hazard. That said, it seems like the idea is to estimate the baseline hazar...
I am dealing with an unsupervised problem where I have ended up with the following maximization problem: $\max_{C\in \mathbb{R}^{p\times n}}\sum_{i=0}^{m} tr(CA^ixx^\top A^{i^\top}C^\top) \\ \mathrm{subject \;to} \; ||C||_2 \leq c$ where $A \in\mathbb{R}^{n \times n}$ and $x \in \mathbb{R}^n$ are a known matrix and vec...
Assume I trained a binary classifier $f$ and I was able to extract an optimal decision value $t$ such that the binary output $\widehat{y}$ of the classifier is: $$ \widehat{y} = \begin{cases} 1, & f(x) \geq t \\ 0, & f(x) < t \end{cases} $$ Intrinsic to this classifier (at threshold $t$) are the True Positive R...
Short version: Is it right, and if yes, what is the right way to combine permutation tests applied on n randomly selected subsets of a bigger dataset? I was not able to find a publication that tackles this subject. Long version: I am performing a permutation-based 2-way ANOVA on a dataset with large dimensionality, a s...
I fitted a regression equation with a set of n exogenous variables, and estimate of regression coefficient with one of these variables obtained as $\beta = 0.00001$ with $SE = 0.000005$. Therefore the z-value comes as 0.00001/0.000005 which is 2. My question is if we should consider this variable as significant? Yes, f...
I have data showing which month a disease started for 119 subjects. The months are represented by 1-12 (Jan - December). We hypothesize the disease more often onsets during winter months. What test should I use? This is the data we have. Month (line 1); Number of people with disease onset in this month (line 2): 1, 2...