instruction stringlengths 9 38.7k |
|---|
I am using logistic regression as a classifier to predict the variable Group (old/young) from a variable called Sentence_length. When I plot density functions of Sentence_length by Group, it is clear that that two groups are totally non-separable using Sentence_length:
And indeed, the coefficient of Sentence_length in... |
What is a procedure for selecting a type of logistic regression model (e.g., multinomial, one versus rest) for predicting the class of a pixel given its red, green, and blue intensities as in https://www.kaggle.com/datasets/billbasener/pixel-values-from-images-over-haiti?datasetId=1899167 ? A class of a pixel may be an... |
I am trying to determine if a Wilcoxon signed rank test is appropriate for my data. The experiment tested how pairs of participants interacted with 2 versions of the same software. The software was collaborative in nature, hence why each pair of participants tested each version together. Each participant's behavior was... |
Consider a linear model in which a vector of data $\mathbf{d} \in \mathbb{R}^M$ is related to an unknown parameter of interest $\mathbf{x} \in \mathbb{R}^N$ via $$\mathbf{d} = \mathbf{A}\mathbf{x} + \mathbf{n},$$
where $\mathbf{A} \in \mathbb{R}^{M\times N}$ is a known matrix with rank $N$ and $\mathbf{n} \in \mathbb{R... |
I am running a set of mixed models and comparing them by AIC to select the best models but I am having singularity problems in some of them. It is clear to me from here and here among other references that singularity problems indicate that the random effects structure is too complex to be supported by the data. But, f... |
We recently installed a new incentive program for my company's top salespeople that would give them higher and higher revenue percentage cuts from sales. I'm trying to answer how much more incremental sales are due to only the new incentives program. We have given these incentives to only our highest salespeople, so th... |
Background information
Using different machine learning models, I predicted three different behavioural categories in cats (active, inactive, maintenance). I then created a dataframe that contained the counts and proportion of each behavioural category per day (6 days per cat; 12 cats total).
Data
I have a dataframe (d... |
I'm reading the Chapter 7 of Statistical Rethinking (2nd), where the author delves into information theory and model selection.
I think I've grasped the concept of what would be the KL Divergence, and the need of knowing the target probability distribution for its calculus. The author then goes into how we don't necess... |
As the subject suggests, after selecting regressors from lasso regression, is it a good practice to re-run the an ordinary linearly regression with selected variables?
I just feel like intuitively, this would give a more accurate prediction out of sample. Assuming we addressed the redundant variable problems from lasso... |
My question is similar to (and an extension of) this one.
I select two values ($i$ and $j$) at random from a standard normal distribution. What is the expected value of $|x_i^n-x_j^n|$ for all integer powers of $n$? The vertical bars represent absolute value symbols, so I know the answer will be a positive number for a... |
I'm building a model in R to predict the total number of rushing touchdowns, passing touchdowns, defensive touchdowns, extra points, and field goals in an NFL game given several features. Basically instead of trying to predict the actual score, I want to gather the components that make up the final score (vegas odds, r... |
I am confused about interpreting the confidence and prediction intervals regarding the model's accuracy or assessing the fitted model's goodness of fit—for example, the attached graph. I see that the prediction interval covers almost all the data points. For me, I think that the fitted model is great as the prediction ... |
The more I read, the more I am confused as to how to interpret the validation and training loss graphs, so therefore I would like to ask for some guidance on how to interpret these values here in the picture. I am training a basic UNet architecture. I am now wondering if I need a more complex network model, or that I j... |
In my data, I have $N$ users, and for each we measure at $t_i, i\in[1,..,N]$ different times whether it belongs to one of k categories (let's say A, B, and C). The data columns looks like this:
user_id frac_in_A frac_in_B frac_in_C total_measurements several_categorical_and_cardinal_predictors
The aim is to ... |
I am very new to this data analytics field, so bit confused about what to do.
I have 2 time series datasets of two different products that have the same attributes. I want to find trend similarity between both the time series. Which one will be best to use, correlation, covariance, mutual information or Euclidean dista... |
I'm trying to assess normality in a two-way ANOVA. I have a 3 x 2 design. I have split the file by cells and used SPSS to create a new variable of the residuals. I have calculated the normality of the residuals in each cell using the Shapiro-Wilk. I have significant violations of normality. When I ran the normality tes... |
I was trying to evaluate different algorithms for PCA like eigenvalue decomposition, SVD, Lanczos Algorithm, Power iteration.
I also want to do some other analysis
I could find any papers concerning this.
What would be the best method to generate synthetic for PCA.
Basically generate data with "principal components" an... |
Problem: I need to figure out how many times are women more likely to continue attending a class after a certain period of time.
Data:
Solution: I used odds ratio (see picture).
Is it correct to assume that women are 2.8 times more likely to continue with the class compare to men?
Cohort 1: 0.59 / 0.34 = 1.7
Cohort 2:... |
I have data like this:
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
x
0.03
-0.07
-0.62
0.26
0.47
0.01
0.54
0.41
-0.38
0.50
-0.84
-0.30
nx
0.23
0.45
1.12
0.45
0.53
0.95
0.56
-0.79
-1.68
-0.12
-0.68
-1
This is the result of the decompose(tes$seasonal) in R. Its a table of time series that I filtered by ... |
I have been working an a pipeline to analyze product parameters of a manufacturing process (e.g. different diameters, heights and color data) for quite a while now and it seems like I have hit a wall.
In the beginning I worked through a few time series analysis books and implemented the usual methods. I first tested fo... |
Recently, I have been reading the 《Elements of Statistical Learning》book . Now,I have three question in chapter 2 formula(2.10).
(1)What does $pr(dx,dy)$ in Formula 2.10 mean?
(2)how to derivate this (2.10)formula?
(3)Can $pr(dx,dy)$ be written as $pr(x,y)dxdy$?
The ESL book (2.10):
$EPE(f)=\int[y-f(x)]^2Pr(dx,dy)$
can... |
I am running ARDL model. For the model specification I have the following Trend Specification options: 1) None, 2) Restricted constant, 3) Constant, 4) Restricted Trend and 5) Constant & Trend. How should I pick one from the list? Is there any strategy and approach to do so?
|
I have been looking at a code base that can calculate evaluation metrics. It implements bootstrap resampling to calculate confidence intervals, and also uses stratified approximate randomization for comparing two systems statistically.
The main components are given below in ~ pseudo code, where bl indicates system 1 (t... |
my prof told me to use rand index between two clustering on my assignment, and after using python sckitlearn library i got the score 0.53
is it good score? i can't find any reference about it like i found Silhouette Coefficient
|
I am trying to incorporate HMC into an algorithm that requires me to generate samples that are uniformly distributed in the distribution being sampled. Ie, the samples are not necessarily uniformly distributed themselves, but they are uniformly distributed according to the distribution being sampled.
My initial thought... |
I have a question, how to prove formula (2.12) in book 《Elements of Statistical Learning》
|
I am trying to build a zero-delay kalman filter which udates its process noise covariance matrix $Q_k$ depending on the value of the residues $z_k - H\cdot x_k$. My problem is, I have adopted a 1D constant velocity model, and the brutal change in the variance updates on the position part of state after 2 step, and not ... |
Suppose two groups of people from country A and country B responded to a question before an event. Sometime after the event again two groups from the same countries responded to that question. Now let's assume 50% of the respondents are shared between the two waves in both countries. We don't know whether the samples a... |
I have data for binary classification (red/non-red). The data comes from different users with ids 1-N. Data from different ids have a) different distributions of red examples and also b) different number of examples. The first table illustrates this.
id # red
1 100 .3
2 200 .1
3 100 .166
==============... |
I'm not sure had anyone open this question but I'd like to your opinions. When we compare two groups(control&treatment) measured at pre,post and a follow up procedure, which is the most useful tool to say treatment condition superior at post and follow up level? As far as I can see, we can use two way Repeated Measures... |
Consider an ensemble of weak learners (i.e. regressors or classifiers) whose predictions are aggregated (e.g. via averaging or majority vote) into an ensemble estimate.
This gives rise to the question when exactly building an ensemble is better than simply using a single member. Quantifying this effect leads to the not... |
I have several data types and I want to use them as features for binary classification task.
The data is as follows:
1- Genes: I have several datasets containing bulk RNA-seq data. Some of these datasets have already undergone normalization through TPM (Transcripts Per Million) normalization, while others are still in ... |
I'm developing a python library for confidence intervals for common accuracy metrics, with both analytic and bootstrap computations.
Following this paper, I implemented the Macro and Micro F1 scores analytic confidence intervals.
However the derivation for the (commonly used, and the default mode in sklearn) binary F1 ... |
This question is a spin on the question Basic probability question but struggling (brain teaser with friend) but with some additional rules and considerations that make it more complex. The differences are that we can only make a single bet, and there is uncertainty about the composition of the urn.
We are looking for... |
I'm reading Stephen Senn's book, Statistical Issues in Drug Development, and come across this formula for the expected variance of a randomised clinical trial, with a fitted single continuous covariate, given that a perfectly balanced clinical trial has a variance of 1: 1+1/(2n-4).
I was thinking that the 2n-4 the -4 i... |
A common critique I have heard levied against conflict studies (research examining the causes, consequences, and solutions to violence such as civil war, terrorism, etc.) is the problem of selection bias. To qualify this, much of this research consists of non-random samples that are basically entire populations within ... |
I have a continuous response variable representing plant disease severity, with values ranging from 0 to 5. The R unique function shows the following values in my response variable (0.0, 0.5, 1.0, 3.5, 3.0, 2.0, 4.0, 2.5, 5.0). The response variable contains many zeros and is right-skewed, but the zeros are important f... |
Let's assume I have a measurement $d + \epsilon_d$ where the true value of the measurement is $d$ and the error associated with that measurement $\epsilon_d$ has a uniform distribution $\epsilon_d \sim U(-0.5, 0.5)$.
I have a random variable that is a function of that measurement and error: $Z = \cfrac{B * f}{d + \epsi... |
I know that in the case of case-control studies you should report odds ratio, because risk ratio cannot be calculated in this kind of study (I think this is what this question is about When looking at the association between binary variables, when are odds ratios better than risk ratios and vice-versa?).
But if we have... |
Bit of a Bayesian noob here with a very simple question - does ELPD of a model depend on the number of observations / datapoints?
Longer version: I am comparing several models for the same underlying dataset, but grouped different ways such that the number of datapoints is different for different models.
I recently swi... |
I'm running a multiple logistic regression with a binary output 0,1 with inputs of both continuous and discrete variables- around 6 independent variables total. The output is if a customer will buy or not, but there are a lot of results in which they bought at one point (1) and then decided to no longer buy (0). As suc... |
I have a stochastic volatility model for commodity price which follows an AR(1) process:
ln(pt ) − m = ρ (ln(pt−1) − m) + exp(σt)ut ut ∼ IID(0, 1)
σt − μ = ρσ(σt−1 − μ) + ηεt εt ∼ IID(0, 1)
After estimating the above process, I use the estimated parameters to solve a small open economy model where the price of... |
I am using glmmLasso in R to get predictions; my outcome is binary so I am using a logit model. My code looks something like this:
glm.fit<-glmmLasso(y~ x1 +.. xn, rnd=list(id=~1),
lambda=1,family=binomial(link=logit),switch.NR=TRUE, final.re=FALSE)
After which I would like to get the predicted outcome and ... |
I'm (re)studying hypothesis testing from the book All of Statistics by Larry Wasserman (2005, Chapter 10, link), because when I studied the concept in one of my university courses I didn't understand it very well.
I still don't understand some points that many may find simple, and here I'll review step by step the main... |
Many sources online recommend that we use a rolling window to make forecasts. As I am in a choice between using a fixed window and a rolling window for my data I am trying to find any empirical evidence to get a sense of the improvement in forecast accuracy provided by using a rolling window. However, I have a really h... |
I'm being provided a dataset with several variables in it, and a success metric (1 or 0) at the end. I'm being asked to analyze the dataset and give insights on how to improve the success metric rate.To do this I intend to do a thorough data analysis to study correlations and relationships. However I'm also intending t... |
I have a dataset of users, states, and social classes (each user lives in a state and has a certain social class). The dataset consists in only 2 columns: state and social class, and each row corresponds to one user. There are millions of distinct users (rows), 27 distinct states ([1,2,...,27]) and 6 distinct social cl... |
I understand that when performing linear regression, one common rule-of-thumb is that for a good 'fit', the residuals should be 1) independently distributed, 2) stationary and 3) not serially correlated.
In practical terms, this can be achieved with multiple statistical tools i.e. Augmented Dickey-Fuller (ADF) a Ljung-... |
I have a total population of X, and I test Y < X units for a certainly binary reliability test. Of Y units, some y fail the reliability test.
Is there a method (oversimplification is ok) that can tell me 1) what would be the expected failure rate (or range of failure rate) of the total population X, and 2) what is the ... |
I'm currently working on a project where I need to identify an appropriate model that accurately fits the data generation process of my study. The goal is to have a model in which the covariance matrix aligns with the structure of the var_cor matrix utilized in the data generation process, i.e. a block diagonal matrix.... |
I have three within-participant conditions (a, b, and c). I hypothesize that compared to condition a, some event x is less likely under condition b and is even less likely under c.
Namely P(x|a)>P(x|b)>P(x|c).
Using ANOVA I can check that the probability in the three conditions is different, but I have a stronger hypo... |
Consider the linear model regression (matricial form):
$$y= X\beta + \epsilon$$
I am reading the book Econometrics, by Fumio Hayashi. Considere the following:
Assumption 1.4 states that the $n\times n$ matrix of conditional second moments $E[\epsilon \epsilon' | X]$ is spherical, that is, proportional to the identity ... |
My work team has come across a situation in our propensity score matching analysis where matching treatments to controls on one covariate, $X_1$, increases the imbalance in a second covariate, $X_2$, and vice versa.
An investigation of the data revealed there is little common support or overlap between the two variable... |
I have a dataset with a number of people at the start of the year and the status at the end of the year (either 0 for alive or 1 for deceased). In the dataset is the mortality probability from a life table (based on sex and age). Other variables are dummies for a.o. type of work and different diets.
I am using a logit ... |
I have two models to estimate the effect of x1 on y (one is a two-way fixed effects model and the other one a first-difference model). Now I want to find out if the coefficient for x1 between the two models differs with statistical significance by computing the standard errors for beta1_fe - beta1_fd with a x2-level cl... |
I am working to improve goodness of fit in a CFA model and am wondering about if I should retain added covariance values that are insignificant. I am adding covariances that are indicated by modification indices one at a time.
If I add covariance to the model and it is insignificant but doesn't harm (or even improves)... |
I am trying to estimate the treatment effect for a pre/post w 2 groups design, subjects were measured on healthcare utilization 1yr before and after the intervention (non-random assignment). The dependent vars are cost/utilization measures that are right skewed, some zero-inflated. To control for the vastly differ... |
Let $F$ be a distribution supported on $[0, \infty)$ that has finite mean $\mu$. The associated excess distribution $F_e$ is defined by
$$
\bar{F}_e(x) =
\begin{cases}
1, & x < 0 \\
\frac{1}{\mu}\int_x^{\infty} \bar{F}(y)\,dy, & x \ge 0
\end{cases},
$$
where $\bar{F}_e = 1 - F_e$. Exercise 4 in Chapter 1 of The Fundame... |
When T = 2, the fixed effects and first-difference models yield equivalent estimates. However, let's assume you have heteroskedasticity and serial correlation in your errors. With the fixed effects estimator you would typically use heteroskedasticity and autocorrelation consistent (HAC) standard errors. With the first ... |
I am working with a random variable that is bounded between 0 and 1, and its mean decreases exponentially over time. I am seeking to estimate this exponential decay rate with its corresponding confidence interval.
Beta regression models with link logit estimate the change in log odds as time increases by one unit. Howe... |
Sheldon M. Ross in his book, "Introductory Statistics" states the definition of statistics to be:
"Statistics is the art of learning from data. It is concerned with the collection
of data, their subsequent description, and their analysis, which often leads to the drawing
of conclusions."
Why is it an art and not a sc... |
I am using the R package MatchThem to match a dataset that contains 19 control samples and 13 case samples.
After running the MatchThem command with nearest-neighbor one-to-one matching without replacement, I see in the summary that the matched sample should now contain 13 controls and 13 cases.
I wanted to extract the... |
I have a data ((x,y),f) that I am fitting using Gaussian Process Regression in Python's sklearn package. The posterior mean of the GP is essentially my output with an associated error. Based on either the posterior mean or the original data itself, is there a way to calculate gradients of the original data via GP?
x an... |
I would like to compare two groups (one treatment group and one control group). In both groups one can identify three different subgroups (let's call them Index-subgroup). I would first like to compare TG and CG without further selection of these three Index-subgroups. Afterwards, however, I would like to compare TG an... |
I fit latent growth models using lavaan's growth() function in R. It looks like this:
model <- ‘int =~ 1*score1 + 1*score2 + 1*score3 + 1*score4
slp =~ 0*score1 + 1*score2 + 2*score3 + 3*score4’
Then I fit them using two samples (females and males).
`fit_male <- growth(model,
data = male,
missing = "fiml",
estimator =... |
i am working with likelihood function and i need 1 parameter to only have positive values. So when I transform this parameter (lets say $\sigma^2$) to $\psi_{\sigma^2}= \log \sigma^2$, how does it influence shape of likelihood function? Also when i do this, will results of maximization the likelihood change or they wil... |
I have a question regarding this proposition.
Let $f: \mathbb{R} \rightarrow \mathbb{R}$ be an a.e. differentiable function so that $\int \frac{\left|f^{\prime}(x)\right|}{(1+|x|)^s} d x<\infty$ ($s$ is an integer such that $s \geq 1$) and $X$ be a random variable with cdf $F$. Then, we have
$$\mathbb{E}\left[f\left(X... |
Let's assume that I want to train a classification model for document-level input. The input is sequential (a sequence of tokens within a text). Documents may vary in length (i.e., one or multiple sentences) but are typically 5 sentences long. Let's further assume that I am unable to collect 'real' data for my problem,... |
Following are the definitions "representative" of the countless articles I have read about data vs information and yet have nothing to say about them. Can anyone just put some accent upon these two so I would better understand statistical science?
Data is a representation of individual facts or statistics in their raw ... |
Consider the task to apply dimensional reduction to extract "salient" features from images.
I am confused about what components in PCA represents: features or samples ?
I understand that PCA projects samples on an orthogonal directions to maximize variance of their features.
So, I understand that, having an image of sh... |
I have to solve this limit using the Dominated Convergence theorem ( https://www.math3ma.com/blog/dominated-convergence-theorem ).
I'm not sure what to do with that "n" before the integral.
What would the g function look like? Thank you!!!
|
Given a response variable y and three predictors A, B, and C, can all predictors have significant pairwise interactive effects on y without having a three-way interactive effect on it? In other words, given the linear model (expressed in R notation):
model1 <- lm(y ~ A + B + C + A:B + A:C + B:C + A:B:C)
can A:B, A:C, a... |
I'm trying to select between two models. 1. has a Truncated Normal likelihood and 2. has a Gamma likelihood. 1. has a much higher WAIC/LOO score but the posterior predictive in 2. (specifically the middle plot) looks much better to me as it excludes outliers. (Actually, this data is real and was not simulated, so I don... |
This is my first post here, so tips are appreciated for future posts!
For homework in my CS course I wanted to build a very simple Linear Regression Model (although this was not explicitly required) to determine slope m and intercept b given inputs with my code being so far:
import numpy as np
x = np.array([0, 110, 50... |
I am doing a econometrics assignments that asks me to evaluate the best panel data models for a production function.
I have the following R code:
data <- read_dta("prodfn_data_5_1.dta")
# Create panel data object
pdata <- pdata.frame(data, index = c("ivar", "tvar"));pdata
form = y ~ l + k
##########################
... |
I am working on an algorithm for recommender systems. I want to compare its results to another method. For this purpose, I need to apply a t-test on their results to see if there's a significant difference between them. Each sample consists of 27 float numbers, and none of the samples has a normal distribution. After e... |
Note: I'm happy to edit and rename the “question title” for this problem if someone proposes a better (and concise) way of asking about this problem.
In brief, the problem I'm presenting below was posted on this site (or maybe on mathematics), but it appears to have been hidden or deleted (it was most likely a homewo... |
Suppose I have the following scenario:
And I am aware of an algorithm to draw uniformly from (in this case) the 2-sphere. Does this same algorithm readily extend to the situation where I randomly take a "cut/slice" (shown in red above) and what points uniformly over this circle?
Further, suppose now that I have a unif... |
For predicting whether a subject has liver disease or not, I'm using StratifiedKFold CV in GridSearch for AdaBoost and RandomForest Classsifiers.
For Outlier anlaysis, I've identified all feature outliers and extracted their row indices on full dataset but decided against dropping it since there might be some data leak... |
I have tried reviewing similar questions to this problem (ex1, ex2), but most of them do not seem to get at how to sample the data (if at all). I will try to outline my problem below:
I have plants that generally die (imbalanced data problem) and I want to predict how likelihood that they will survive.
Each day the pl... |
I have a standard reduced form VAR of type without intercept: $y_t = A_{1}y_{t−1} + \ldots + A_py_{t−p} + e_t$, $e_t \sim N(0,Σ)$.
I need to derive the predictive posterior distribution $p(y_{T+h}|y_{T} , \ldots, y_1)$ in the general case for $h=1,2,3,\ldots$ and define its moments.
I already exhausted many textbooks a... |
I'm working on a problem which requires a ROL model, the problem is R does not have much support for these in terms of packages and documentation. I want to fit a ROL model to partial rankings with time as a covariate. I've tried the PlackettLuce package (only works with subset rankings), the PLMIX package (has partial... |
Friends,
thank you for your help, I'll try to be concise:
I want to perform a Diff in Diff with three groups of US states: a control group, a group treated with policy P1, and a group treated with policy P1 AND P2 (both).
The basic model in my head:
$y_{s,t} = \alpha + \mu_{1}Post_{s} + \gamma_{1}P1_{t} + \gamma_{2}P2... |
As per my understanding, parsimonious regression model is the model that has less variables but with those variables I can describe the data best. Is it so?
Then what does optimal model imply?
I thought these two terms are same for model selection. But I read somewhere they are not!
Suppose, I have a simulated data whe... |
I'm interested in predicting when a customer will churn, after they've turned a certain age (in this case, age 18, but this could really be any number).
This piece is critical: given the domain being modeled, as someone gets older, their likelihood of churning should increase (this is domain-specific knowledge one woul... |
(Originally asked on Stack Overflow, reposting here after a commentor mentioned this is a better place to ask it.)
I have a seed germination study that I am trying to analyze. In this study I had 4 different media types (nutritious agar plus different vitamins/additives) with 40 plates each. Each group of 40 plates wa... |
I am currently performing some Cox regression models. The image attached shows a Schönfeld residual based on one of the cox models with a significant p-value which means that the proportional hazards assumption is violated.
Now I want to perform a cox regression with time-dependent covariates. In order to do so I need... |
We are given some commodity (steel, copper etc.) price predictions made by the following steps:
Finding the correlations between the commodity price data and macroeconomic indicators
Selecting a set of the indicators that are highly correlated with the commodity price data
Using the selected indicators as explanatory ... |
Suppose I have an estimator $\widehat{\theta}$ that is asymptotically efficient (for example, it could be the MLE of the mean $\mu$ and variance $\sigma^2$ of $Normal(\mu,\sigma^2)$). Suppose I also have $\widehat{\tau}=h(\widehat{\theta})$, where $h(\cdot)$ is a smooth transformation (in the normal example, an example... |
I often run into data that has effects that go across a wide range of scales and are roughly log-normal, yet also have normal error terms added in, occasionally making some terms negative. Is there some way to fit a distribution to this data? If I can do this, I can check whether this model makes sense numerically and ... |
I am reading https://epubs.siam.org/doi/10.1137/140964023, and I got confused by this part:
In the above, it is assumed that $m \geq n$.
If $m = n$, I can see how the above works.
$|| J \theta - y||^2 = (J \theta - y)^\top (J \theta - y)$, denoting with $\top$ transposition, and with $J$ full (column) rank we can fact... |
When attempting to model various phenomena, in practice, our model will usually be "wrong", but can still provide us with useful insights/predictions.
What methodologies can we follow to help us balance the ability to create a useful/informative mathematical representation of our phenomena with the "trueness" of our mo... |
I popped 7 bags of popcorn in 30 second increments and found the percentage of popped kernels in each time frame.
I manipulated this data with sinusoidal, exponential, and cubic models. There is lots of debate surrounding the sufficiency of using r squared to comparing the goodness of fit for non-linear regression mod... |
I'm trying to understand impurity metrics in decision tree learning, in particular the Gini impurity. Questioning one of the assumptions of Gini impurity has led me to another impurity measure which makes much more sense to me but I can't find much information about it online.
Say we have a classification problem with ... |
I have been provided a table of regressions of an AR(1) model and asked to calculate the PACF. I know that the PACF is the additional information about the process y_t accounting for the previous lags. So PACF(1)=ACF(1)=0.6933. But I'm not sure how to calculate the other PACFs?
I can't find a formula or explanation any... |
Give a example of discrete random variable for which mgf $M(t)=E\left(e^{tx}
\right)$ does not exist . I have tried with geometric(p) distribution when $(1−p)e^t≥1$
, the mgf does not converge. Is it correct approach ?
|
I did random oversampling to handle unbalanced positive and negative data. When I didn't do random oversampling, the accuracy I got was 88%, when I oversampled the train data, it got 87% accuracy and when I oversampled the train data and tests, the accuracy was 84%. Here's the oversampling code:
from collections import... |
I am calculating the correlation between the scores a radiologist attributes to an MRI image (discrete 0,1,2,3), against the continuous quantification of disease (continuous between 0 and 1). I see a lot of cases where I ask radiologist why he has attributed for example score 1 and he says he has been too much sensitiv... |
It is well-known that lower bounds on the nonparametric regression convergence rates under Gaussian (and more general unbounded) noise assumptions are given by $n^{-\frac{\beta}{2\beta + d}}$ in the $L^2$ case and by $(\frac{n}{log(n)})^{-\frac{\beta}{2\beta + d}}$ in the sup-norm case (see papers by Stone (1980,1982))... |
I am interested in the conditional distribution of the sum of a uniform random variable and a constant.
Let $X = d + \epsilon_d$.
$d$ is the true measurement value.
$\epsilon_d$ is the error in the measurement such that $\epsilon_d \sim U(-0.5, 0.5)$.
$d + \epsilon_d > 0$.
How would one derive the conditional probabili... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.