instruction stringlengths 9 38.7k |
|---|
Hello I'm wondering how do you consider these result For binary classification with class imbalance.(84% to 16).
Accuracy 96 Precision 94 Recall 80 F1 86 Roc_auc 98
|
I need to plot a confidence band around my ecdf. I calculated a value b and I basically just need to plot ecdf+b and ecdf-b but R doesnt let me do that. Does anyone know how this can be done?
|
When developing machine learning classifiers, some people upsample or upweight the minority class to achieve a 50-50 balance, claiming that this improves performance. Some statisticians have questioned this practice, but there do seem to be some potential benefits, such as covariate shift adaptation. The practice is ve... |
I've been reading about inverse-variance weighting and every reference I find to it is related to meta-analysis. However, I wonder if inverse-variance weighting can be used to reduce the bias produced by outliers in highly variant data.
Say we have a random variable $X$ containing a subset $X_o \in X$ consisting of out... |
I have three daily time series, each spanning 14 years: maximum temperature, total rain fall and number of deaths. My aim is to build an explanatory model of deaths rather than a model optimized for prediction.
I first ran the following generalized additive model (using mgcv in R) with smooths for each term as per the ... |
I am looking at the following limit theorem from the paper
D. A. Darling, P. Erdös, A limit theorem for the maximum of normalized sums of independent random variables, Duke Math. J. 23(1): 143-155 (March 1956)
I use R to check the result in the case where each $X_i$ is a standard normal. I use the following simple cod... |
I've fitted two models and while checking the residuals vs. fitted plot I saw a pattern that I haven't seen before in my analysis. The thing is, although the data seems to be well distributed (rectangular shape), it's all centered on the left, I first thought of this as a classical 'funnel-shaped' example and the follo... |
I'm interested in testing (one at a time) these two hypotheses using the...
Mann-Whitney U test.
H0: The probability that an observation in Group1 is greater than an observation in Group2 is 0.50
But I'm having trouble understanding this assumption and wondering if my data meet it:
Assumption: "In addition to independe... |
Something I have been noticing lately, is that Machine Learning practitioners appear to be talking more about Cross Validation a lot more than those working with traditional statistical models (e.g. Regression).
For example, in almost any Machine Learning paper, the results section usually contains an extensive Cross V... |
The lifetime of computer monitors has a exponential distribution where the expected value can be written as:
$\mu(s) = \frac{\beta}{s}$
Where $s$ is how bright the monitor is and both $s$ and $\beta$ are >0
How do I estimate the maximum-likelihood of parameter $\beta$?
I know that the log-likelihood for a exponential d... |
I have a dataset of a realisation of a one-dimensional point process. I would like to test for a Poisson process with some statistics connected with clustering. I would like to provide a size effect that reflects the absence of clustering.
|
We are working on a project where we want to find the pure premium for which we first want to fit Poisson regression.
Data Used: data(dataCars) from insauranceData package in R
We have an offset term exposure which takes value between 0 and 1
when I fit my model then I am getting rates between 0 and 1
but when I calcul... |
I am trying to compare two amino acid concentrations after two treatment variations. The data is not normal distributed, so I have to use non-parametric tests. I calculated the adjusted p values, but now I want the effect size as well. Is there an option to calculate the effect size for the adjusted p values?
I used th... |
I am training the ridge regression on a one-day sensor data using the closed-form solution where
$$ \beta=(X^TX+\lambda*I)^{-1}X^TY $$ and Matlab.
The $X$ is 15 polynomial time matrix. I created a loop where different lambdas were used in the ridge regression and then apply this model to the training set, and then comp... |
I have a task where I should fit the data sample with curve_fit and get the peak's position and amplitude. I fitted data and got these values and their standard errors. I also need to find point estimation and confidence interval for position and amplitude.
Can anyone give some hints on how to find them? I've found sol... |
I was wondering if we can use k-fold cross-validation for model performance with a GLM-fixed effects model (fitted with the feglm function from the fixest package).
|
All the tests that were carried out prior to WRS test shows to reject null hypothesis, but WRS test is saying to retain the null hypothesis.
However, rejecting the null hypothesis makes more sence. Is it right if i go against the WRS test and reject null hypothesis?
|
During some exploratory analysis of my data I noticed that when Jfox was calculated for a point pattern relative to some polygons, I frequently obtained that the pooled envelopes area did not include the Theoretical line (at least in some regions).
This was not the case when Jfox was computed between point patterns onl... |
I have a study with one within-subject factor. The data in the two groups are normally distributed. When running a paired t-test, I get a significant effect, t(19)=6.24, p<.001 which supports H1.
When running the equivalent Bayesian analyses, I get a Bayes Factor = .001 which strongly supports H0.
I struggle to reconci... |
What are some ways to see how different two discrete probability distributions are? I have two samples that can only take value from 1-4, in increments of 0.5, and I'm trying to compare their distributions without using Kolmogorov-Smirnov test, as that is primarily designed for continuous distributions. I am also aware... |
Firstly, looking at the discussion https://math.stackexchange.com/questions/241315/three-ideas-of-perfect-sampling, the term "perfect sampling" does not seem adequate, since there are several aspects that don't sound perfect at all. The sampling becomes perfect from some point in the chain, but establishing a criteria ... |
I am running a cointegration test on 4 input variables over 1 year and when I run the VARselect it outputs:
AIC(n) HQ(n) SC(n) FPE(n)
1 1 1 1
Input - VARselect(Data, lag.max = 10, type = "const")
This is an issue as the minimum K for the ca.jo in RStudio is 2.
I have looked for answers on this ... |
I am working on a paper now where statistics is my weak spot and I need some help from experienced statisticians.
I decided to use one-way repeated ANOVA to analyze my results. The following is dummy data that follows a similar data structure as my own results.
One thing really bugs me a lot is that the ANOVA's assump... |
This is a practical question.
Assume that there are two finite populations X and Y in the real world. For example, we want to compare $\bar{X}$ and $\bar{Y}$. We can use a probability sampling scheme such as stratified sampling or simple random sampling without replacement to extract two samples from the population X a... |
I have been trying to learn more about "Regression Discontinuity". This appears to be a statistical method designed at testing the effectiveness of some sort of intervention. The Wikipedia article (https://en.wikipedia.org/wiki/Regression_discontinuity_design) states that "regression discontinuity design (RDD) is a qua... |
I found an answer to model my data in order to predict behaviours over time.
The question answered was here I have zero inflated data, with discrete variables. Is it possible to use zero inflated poisson model?
However, besides of it I would need to find the significant difference between the gap of the behaviour on th... |
I am wondering how analysts might generally approach a survival analysis problem? I used to naively think just to throw a Cox model at everything but am becoming attracted to the idea of using parametric survival models on a more regular basis because they return the baseline hazard. Of course this means that you shoul... |
Suppose our hypothesis space is $$\mathcal{H}=\{f:f(x)=f_\theta (x), \theta\in \Theta\},$$ where $\theta$ is the trainable parameter.
Suppose we have a dataset $\{x_i,y_i\}_{i=1}^N.$
In the notes from my professor, he defines the empirical risk minimization as $\,\Phi(\theta)=\frac{1}{N} \sum_{i=1}^N L(f_\theta(x_i),y_... |
I am reading the paper and try to understand the example solution in p. 14.
In particular, if the Markov chain has stationary distribution $\pi$ and $a$-step transition distribution $P^a$, then
$$β(a) = \int π(dx)||P^a(x) − π||_{TV}. \tag{18} $$
Consider first the two-state Markov chain $S_t$ pictured in Figure 2. By ... |
I want to model volatility of a stock index with 1460 observations. The specification of the GARCH model is planned to be EGARCH-X where X is the external regressor, with no mean specification. Unfortunately the result of LB test on raw series of diff-in-log (daily return) proves that autocorrelation exists
Box.test(na... |
I need to sample $n$ points from a multi-modal distribution with the condition that the sum of the points equal 1, i.e., the points are the unit simplex. The possible distributions may have varying numbers of modes. How would I do this?
I have found research on how to do this if the distribution is the uniform random d... |
Goal is to establish a loyalty score for a customers of particular TV Brand.
Listed below are some factors that I think should logically affect the score.
Features of a Loyalty Score
Loyal Customer has a long relationship with brand X (high household age)
He is a repeat customer ( high lifetime device count)
His house... |
When using survival analysis in R I found that I cannot code the event variable "death" as a factor variable as it flips the Kaplan Meier curve, and I have to use is as a numeric variable. I'm not sure why this happens.
In light of this -- is it safe to ordinarily code other explanatory categorical variables as factor ... |
I have a dependent variable, Y, and an independent variable, X. For each value of the independent variable (there are four values for the independent variable "X"), I have a cluster of data points of dependent variable "Y". I want to build a linear model with logarithmic scales (so basically modelling a power law).
Do ... |
Me and my friend are currently writing our final essay but we are having some problems with our analysis…
We are doing an hierarchical multiple regression, and we has some categorical predictors (like two-levels variables as biological and non-biological, and some with more levels like grade). Before doing this we cont... |
Introduction
I am working in R and I am getting confused how to compute confidence interval of normal distributions and tail probabilities of unobserved points. I have looked at other posts on here that does not help me answer these questions properly.
Question Summary:
I have two questions.
How to compute the confide... |
I've recently started to work in machine learning and this is my first post here. Excuse me in advance for duplicates and/or slang mistakes. My question is about transfer learning (although in this case, I think it is more accurate to call it pre-training).
I'm working in a classification problem using a convolutional ... |
Reading:
https://www.stat.berkeley.edu/~breiman/randomforest2001.pdf
I wanted to ask about clarifications in formula 4. Sorry for not rewriting here all the article, which should be a classic. I would not be able to be more clear than the article itself.
$PE^*$ in formula 4 is beforehand defined as :
$PE^*=P_{X,Y}(mg... |
I am pretty new to r and statistics. I am trying to use the DiD package for difference in differences with multiple time periods. I have 60 control units and 17 treated units. Is this sample size large enough? Does this imbalance between treatment and control size alter the accuracy of the ATT? If so are there any solu... |
I am trying to understand why lines (1) and (2) give the same result
set.seed(2525);
n <- 1e6; X <- rnorm(n)
Lines (1) and (2)
(1) rbind(c(mean(X[X>1]), mean(X*(X>1)), mean(pmax(X-1,0))),
(2) c(dnorm(1)/pnorm(-1), dnorm(1), dnorm(1)-pnorm(-1)))
Result
[,1] [,2] [,3]
[1,] 1.524587 0.2416943 0.08316332
[2... |
Let $\mathbf{x}\sim N(0,I)$ and $A$ a real-valued square matrix. The spectral decomposition allows us to rewrite a quadratic form $\mathbf{x}^\top A \mathbf{x}$ as a sum of iid chi-squared random variables weighted by the eigenvalues of the square matrix $A$,
$$
\mathbf{x}^\top A \mathbf{x} = \mathbf{x}^\top Q^\top\Lam... |
How can I sample from a mixture distribution in particular a mixture of Normal distributions and Exponential distribution in R using composition method?
For instance if I want to sample from:
$0.3\textrm{Exp}(1)+0.5\textrm N(0,1)+0.2\textrm N(4,1)$.
The algorithm should be following:
Generate random number $N$ with di... |
$(X,Y,Z)$ is a multivariate normal distribution. Calculate $E[X^2YZ]$
I'm finding an approach for this problem. I'm not sure if it is possible to assume
$E[X^2YZ] = E[X^2]E[Y]E[Z]$
|
Background:
I want to explores the effect of 3 different treatments on pain felt during a medical procedure. Pain has been assessed using visual analogue scales. Pain values can be anywhere from 0 to 100. 0 = no pain felt.
What I am trying to do
I am trying to run a regression model so I can control for other factors w... |
I am trying to find a loss function for a beta distributed variable, other than the log-likelihood. Since the beta distribution belongs to the exponential family, I wonder if it is also possible to define the unit deviance, something like the gamma deviance defined here (I have very limited experience with GLMs).
I wa... |
$X$ and $Y$ are two non-negative continuous random variables. The moments of $X$ are $\mu_i$ while that of $Y$ are $\nu_i$.
We know that $\mu_1=\nu_1$ and $\mu_i \ge \nu_i$ for $i=2,3,\ldots$
Can one then show that $P(X>x) \ge P( Y>x)$ for $x\ge \mu_1$?
We do know that
$$ \mu_i=i\int_{0}^{\infty} x^{i-1} P(X>x) dx \ge ... |
Ok, so I have a very basic knowledge of statistics and I'm trying to get my dissertation done guided by books, internet tutorial and googling Q&A forums like this one.
I am comparing a satisfaction score between three different specialities of a profession in Jamovi: Speciality A, Speciality B and those that have both... |
I am trying to correlate a continuous clinical variable with gene signatures from single cell gene expression data. I used the UCell package in R to create a score (on the y-axis) for each cell from each patient. This score is the strength of expression of a specific gene signature in each cell. The x-axis is the clini... |
I derive a point estimate given value $x_0$ using an estimated linear regression as follows:
$$\hat{y_0} = x_0^T\hat{\beta}.$$
I know that a prediction interval for a given value $x_0$: $$\hat{y}_0\pm t_{n-p}^{(\alpha/2)}\hat{\sigma}\sqrt{x_0^T(X^TX)^{-1}x_0 + 1},$$
where $\hat{\sigma}$ is the sample standard deviation... |
Please forgive a simple-minded question. I'm looking at a dataset now of a few thousand values, and trying to analyze it statistically. Most of the values, about 90%, are zeroes, and then the rest are positive integers from 1 to about 50, with most of them under 10 (it is number of parasites found on an animal). I'm ju... |
I want to use the built-in ToothGrowth dataset in R to write an assignment and conduct t.tests. The dataset has three columns and 60 rows and, for each observation, it contains the supplement given to a guinea pin which is OJ (orange juice) or VC (vitamin C), the length of tooth growth in a specified period of time and... |
I want to estimate the value of a quantity at the end of the month.
Currently, we use a very dumb method, which is simply to take the current rate at the current point in the month, get the rate (in quantity/sec) and extrapolate to the end of the month. This is very inaccurate at the beginning of the month.
I was looki... |
Let $\mathcal{X} := \left \{\boldsymbol{x_i} \right \}_{i=1}^N$ denote inputs and $\mathcal{Y} := \left \{y_i \right \}_{i=1}^N$ denote outputs. Let $\boldsymbol{X} := \left [\boldsymbol{x}_1, \dots, \boldsymbol{x}_N \right ]^T $ where each vector $\boldsymbol{x}_i$ has a $1$ as the first element of the vector and $\bo... |
I am trying to figure out how to generate data in a binary classification figure in R.
Two concepts where examples that fall within any of the three 3 × 3 squares are labeled positive and the remaining examples (outside each of the squares but within X) are labeled negative. The position of the point x = (x1,x2) in th... |
Maybe a duplicate-- but I am not asking about least squares vs minimizing absolute deviations. Just simply, what if I chose to minimize the sum of residuals:
Min $\sum_i^n (Y_i-\beta_0 - \beta_1X_i)$ ?
If I try to minimize this, the second order conditions are all zero. Is there a solution to this? Would the strategy b... |
I am studying judicial decision making. I have coded a large number of cases, each of which was heard by three judges randomly selected from a judge pool. I have coded whether each judge's vote was a conservative or liberal vote, and I have each judge's political affiliation. I want to see if a judge's party status pre... |
Bayes' rule can be understood as a nonlinear map from the space of probability measures to itself. Are there any reference/books which study it from this perspective? E.g., can we say something about whether it is contractive or not, behaviour under iteration etc. Bayes' rule also induces a stochastic process that is... |
I'm helping a friend design his research. He'll use a Google Forms questionnaire with several questions (from 0 to 5, Likert scale) to assess anxiety of students' before taking two different tests. The questionnaire has about 10 questions, all underlie anxiety and all go from 0 (strongly disagree) to 5 (strongly agree)... |
I thought I understood kde/density plots until this problem. I have a dataset with two columns, Diff and Var with 5 million rows approx, this is the header:
About the data:
Var: Only takes values Var_A or Var_B
Diff: Can take integer values from -100 to 100
70% of observations are from Var_A and 30% from Var B.
Given... |
This is a question I have always been curious about.
Suppose there are medical patients and they recommended to get a medical exam done on the first of January. However, the patients can also get this medical exam done before the first of January - and they can also get this medical exam after the first of January. We ... |
My goal is to impute not with sklearn.impute.SimpleImputer. My goal is to impute with sklearn.preprocessing.FunctionTransformer. This is because in some cases, it is obvious that we should fill a column based on other column and not with median or mean.
The problem is, I can't call get_feature_names_out
What I've tried... |
$P(X=x|N,D,n)=\frac{^DC_x \times ^{(N-D)}C_{(n-x)}}{^NC_n}$
Now, I was trying to test for $H_0:D\le D_0$ vs $H_1:D>D_0$ using likelihood ratio test.
But to find the maximum likelihood estimate of $D,$ the terms are in $^DC_x$ form, so I could not proceed further.
Can anyone provide me how to find the estimate of $D$ or... |
We examined the relationship between the 2017 Math SAT scores and the 2019 Math
SAT scores. A StatCrunch simple linear regression printout for the data is shown.
a. Find the least squares prediction equation.
b. Give a practical interpretation of the y-intercept of the least squares line. If a practical
interpretation ... |
in studying now about Vapnik-Chervonenkis dimension, and there is one question that I not able to solve.
Let $\textrm{(X , R)}$ be a range space so that any hypergraph $\textrm{(V, F)}$ in it satisfies ${|F| \leq
A|V|^B}, $ where $A \in R+$ and ${B \in N+}$ do not depend on $\textrm{|V |}$. Show that $\textrm{Vapnik-Ch... |
Is it possible to compute an integral within a layer in tensorflow and tensorflow probability? I have a simple MLP with a couple of dense layers and a concat layer.
import numpy as np
import tensorflow_probability as tfp
import tensorflow as tf
from tensorflow.keras.layers import Dropout,Concatenate
... |
I need direction for a robust approach in R for deriving probability distributions for selected time points in event count time series.
In the below illustration:
"Period_1" shows elapsed number of months,
"1stStateX" shows the number of times elements in the population reach a state of X (it's
binary, either an eleme... |
GMM refers to the Gaussian mixture model, cf. here.
Suppose we have $N$ data points (or observations in Statistics) and $K$ Gaussian models to mix. After going through Maximum Likelihood Estimation, we have the formulas for all parameters, i.e. for all $k=1, 2, ..., K,$
My professor then said, given $z_k,\Sigma_k$ ... |
I am interested in determining the influence of biotic (initial height) and abiotic (light, canopy, soil moisture content, soil nutrients, rainfall, and temperature) factors in the absolute height-growth of a particular plant species. The absolute height-growth(AHG, in cm), the response variable, is just the difference... |
Currently I have a of around 20000 datapoints, with the independent variable being time and the dependent variable being an arbitrary skill measure [Image 1]. I have fit a curve to the data using python's Scipy library and its curve_fit function.
Although the curve looks fine, I want to be able to tell what percentile ... |
This issue may be a little trivial, but I really want to get some inspiration.
I know the formula of logistic regression, but have no idea how it is deduced.
How can I deduce this formula from more basic math theory?
Is this the best function to fit binary classification?
$$\frac{p(x)}{1-p(x)}=e^{\beta_0+\beta_1 x}.$$
|
I need to classift a dataset with 3 classes:
A - 85% of the data
B - 10% of the data
C - 5% of the data
Where C is a subset of B.
What should be the best way to approach it?
|
Have been researching tests for normality, and have some idea of how some of these tests work from Wikipedia.
However, they leave out explaining the distributions of the test statistics under the null and simply tell you to reject the null for certain critical values.
Could someone enlighten me? Is there any distributi... |
I have built a multiple regression and estimated it using OLS. All the variables are significant. One of the coefficients is close to zero (around 0.0003) with a significant p-value of 0.01. How to interpret that?
|
I have a logistic regression model used in credit scoring and I am studying the metrics used in the credit scoring field to evaluate the quality of the model. My ultimate objective is to understand if the same metrics could work in other ML models, for example a random forest. Based on what I have read, I think this is... |
Suppose I have a large training sample, say a million observations, and want to perform regression with a large ReLU-activated neural network (both deep and wide, with many times more parameters than the sample size). In principle, it should be possible to interpolate the training data and achieve perfect performance (... |
Since my residuals failed the test for heteroscedasticity and autocorrelation, what is the benefit of using Newey-West when there is no impact on the coefficient estimates in OLS?
Does the Newey-West make any impact on the OLS model?
Should I use GLS instead of OLS due to heteroscedasticity and autocorrelation?
|
I'm trying to solve this problem:
Let $X$ be a single sample from Geo($p$) where $p ∈ (0, 1)$. Find a minimax estimator for $p$ under the loss $L(p, δ(x)) = (p−δ(x))^2/
p(1−p)$ .
I'm trying to put different priors for $p$ and find one with constant risk. Because we know Bayesian estimator with constant risk is minima... |
Section 7.3 of Elements of Statistical Learning (2nd edition) gives the bias-variance decomposition for OLS prediction first for a single input $x_0$, and then averaged over a set of inputs $x_1, \dots, x_N$.
I understand where the variance term $||h(x_0)||^2 \sigma_{\varepsilon}^2$ in equation 7.11 comes from, since w... |
I am looking for a way to check if there is a significant difference between mortality of egg embryos across three groups (DYF1- double yolk with one embryo; DYF2 - double yolk with two embryos; CONTROL - normal egg (one yolk and one embryo).
Mortality rate in my study is divided into 3 stages: EARLY (1-7day), MID (8-1... |
I have gotten R Wilcox test results I do not understand. Comparing two non-Normal independent sets of ~500 ages. The p-value ~.17 but results is "alternative hypothesis: true location shift is not equal to 0". I suspect I must be missing something.
|
I have an experiment where I am looking at species-specific responses to a treatment application. Within each species, I have 3 genotypes, arbitrarily chosen to ensure we aren't detecting genotype-specific affects that get attributed to species. Each genotype has a number of replicates within it. Thus, specific genotyp... |
Problem.
Given $X_1,X_2,X_3$ a random sample from the Bernoulli distribution with success $\theta$, show that the statistic $T= X_1+2X_2+3X_3$ is not sufficient.
My attempt
When I try to apply the factorization criterion I don't see this function inside the likelihood so I guess $T$ is not sufficient. However, I feel u... |
I'm trying to find out a model that adequately describes effects of gender and length on food choice. For gender; 0=Male and 1=Female, length; 0=Subadult 1=Adult, Choice; F=Fish I=Invertebrates and O=Others.
Here is my data;
data3 <- data.frame(
gender = c(0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0... |
Is it possible to get the label names from an sklearn SGDClassifier model that is loaded from a pickle file?
model = pickle.load(open("saved_model.pkl", 'rb'))
y_pred = model.predict(x)
Because all the labels may not be present in the input vector, x, how can I know what the possible labels are?
|
Motivating Question
I was fitting some models in R and recalled that significance terms are shown for random effects in the mgcv package for Generalized Additive Mixed Models (GAMMs), but this is not provided in the summary fit for Generalized Linear Mixed Models (GLMMs) in the lmerTest package, despite having signific... |
I read an unpublished paper. There is a regression model with about 20 covariates. The authors use a stepwise variable selection method and come to a model with two covariates with small p-values.
The question is: is it correct to consider models with only 2 covariates out of 20? Even for models with all covariates bei... |
A prior for what?
Let's take a toy example of a Deep Neural Network with weights w being fit on a dataset D with an L2/Mean Square Error loss.
I looked up Maximum Likelihood Estimation (MLE) and Maximum a Posteriori Estimation (MAP) regarding the regularization and I think I have some vague intuition:
Take 1:
The use o... |
So I have a dataset which has 84 rows and 18 predictors. I need to predict Annual_salary based on the data provided.
I did create a model after changing all the categorical variables to factors.
Then I used olsrr package to get best subset and got it to be around 7 predictors.
Using those predictors I created a model ... |
I'm trying to calculate manual forecast of dataset using python generated ARIMA(2,1,1) coefficients for small testing dataset that contain 10 points.
Python gives me
AR1 -1.293,
AR2 -0.901,
MA1 0.9998, and
sigma 174.936.
Without constant.
So, forecasting for 1 period should be
yt = series[9] + ar1*(series[9]-seri... |
I have a quadratic population model of the form:
$y=\beta_0+\beta_1x_1+\beta_2x_2+\beta_3x_1^2+\mu$
I want to test if $x_1$ has a positive partial effect on $y$. How can I run such a hypothesis test taking into account both the linear and the quadratic component of $x_1$?
|
I have a dataset of 153 observations and 84 variables. The dataset is processed for a classification issue.
Observation are three time repeated measures of radiomics in 3 different regions of a soft tissu component in the same patient.
By the 84 variables, there is 53 radiomic parameters and 31 clinic parameters.
Three... |
This question is a continuation of this question: Derivation of Box-Cox and Yeo-Johnson Log-Likelihood Functions.
In order to derive the maximum lambda value in log-likelihood objective function for both Box-Cox and Yeo-Johnson power transformation, the Scikit-Learn PowerTransformer implementation uses Brent method (op... |
If I have a set of data points and they do not take up the form of a symmetric distribution when i plot them as a histogram. Then, can I calculate the mean and standard deviation from their usual formulae? Can I take the standard deviation so calculated to be the uncertainty of that measured quantity even though the sp... |
I fitted a regression tree using rpart function. The summary of this model is provided below. I need to know how to calculate the decrease in impurity in each node. For example, in the node number 1, how to obtain improve=0.27435110? What about improve=0.14323610 in the node number 2?
Code:
library(ISLR)
set.seed(12345... |
I have a classification model that is trained to predict the probability of approve/reject on an object, and we use the output of the final sigmoid as our final score to rank these object.
These objects have a high number of dimensions, so when a user rejects an object, we also ask for explicit reason why it was reject... |
I have found from previous data that men and women differ significantly in the way that they interact with my variables.
I now want to make a regression model trying to ascertain the interactions between my dependent and independent variables and then compare the regressional weights and effect sizes on the basis of ge... |
Let's say, I want to establish a relation between the distribution of $Y$ and $p$ covariates. I denote the covariates with $x_1,x_2,...,x_p$. Then, I denote the linear predictor with $\eta$ , where $\eta = \beta_0 + \beta_1 x_1 + ~... ~+\beta_p x_p$ .
Thus, $E \left[Y|X \right]=\mu$, which is connected with the linear ... |
I'm doing test for set a data and a statement appears
true mean is not equal to 0
What does it mean?
t.test(Spread.sheet.VNV.Height$Height..CM.2,conf.level = .90)
One Sample t-test
data: Spread.sheet.VNV.Height$Height..CM.2
t = 11.648, df = 31, p-value = 7.432e-13
alternative hypothesis: true mean is not equal... |
When comparing between two populations, or two groups from the same population, a t-test assumes that both those groups have the same variance. However, a t-test works by using the pooled variance calculation, which is calculated by:
$$s^2_p= \frac{(n_1-1)s_1^2 +(n_2-1)s_2^2 }{n_1+n_2-2};$$
$s_1$ and $s_2$ should be th... |
I don't know how to obtain the autocovariance function of the following process, having a multiplication makes it difficult for me.
$X_t = Z_t + \theta Z_tZ_{t-1}$
with $Z_i \sim N(0, \sigma^2)$ (white noise)
pd:
the answer is:
$\gamma_X(k) = \sigma^2(1+\theta\sigma^2), \hspace{1cm} k = 0$
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.