instruction stringlengths 9 38.7k |
|---|
I have posted essentially the same question on reddit, but it has been some time now, and I have not yet received an answers, so I am also posting it here.
I have five measurements of speed $v_i\pm\sigma_i$, where i ranges from 1 to 5, and all the values of $v_i$ and $\sigma_i$ are different. The measurements are assum... |
I have some data where each row has features and an output variable on the interval [0,1]. The output was likely the result of logistic regression, but we have no idea of the event data and want to recreate a logistic regression model without binary events. In other words, we will aim to recreate the model that works w... |
I found two different and contradictory definitions / interpretations of $R2$. They cannot be true at the same time and I don't know how to tell which one is true.
$R^2$ is just a square of Pearson's correlation. Hence its value ranges between $[0, 1]$
$R^2$ is equal to
$$1 - \dfrac{SSE}{SST}$$
and can be negative if... |
The minimzer of the MSE $E[(a-X)^2]$ is $a=E(X)$, and the MSE can be decomposed into $E[(a-X)^2] = E[(a-E(X))^2] + Var(X)$.
I am wondering whether there exists a similar expression th MAE $E[|a-X|]$ in terms of its own minimizer $med(X)$?
Is there a known standard relationship between $E[|a-X|]$, $E[|a-med(X)|]$, and p... |
I conducted an experiment in which I timed participants completing various tasks, and I'm trying to figure out what factors influenced completion time and if that influence was significant (using R).
I have followed quite a few R tutorials on ANOVA testing, but my data has a few nuances: it's a repeated measures / with... |
I am trying to use the HLME and LCMM functions to fit latent class mixed models to my data. Here are the documentations to both of them:
https://www.rdocumentation.org/packages/lcmm/versions/1.8.1.1/topics/hlme
https://www.rdocumentation.org/packages/lcmm/versions/1.8.1.1/topics/lcmm
I understand what the fixed and ran... |
I want to know how to interpret the quadratic-by-quadratic interaction (e.g., X^2*W^2). I have looked for textbooks or scholarly articles on this issue, but all I found is “Statistics methods and applications” a book written by Pawel Lewicki and Thomas Hill (2012), which just briefly noted that:
“… the interactions by ... |
I don't really understand why we minimise a cost function for gradient descent. Why don't we try to have something like a gradient 'climb', where we maximise some function?
Is it due to convention, or are there some properties which make minimising much better for optimisation than maximising functions?
A similar quest... |
For a multiple linear regression model y = X$\beta$ + $\epsilon$, the maximum likelihood estimator of $\beta$ and e is noted as $\hat{\beta}$ and e respectively.
Please shows that $\hat{\beta}$ and SSE = $e^T$e are independent.
|
I am trying to investigate whether a certain MA($n$) process does not necessarily converge to zero when $n \to \infty$. Consider $X_n=(X_{t;n})_{t =1}^\infty$ a MA($n$) process such that:
$$X_{t;n} = \sum_{j=0}^{n} \theta_{j;n} \varepsilon_{t-j;n}$$
satisfies the two following properties:
$\underset{n \to \infty}{\lim... |
I am facing a challenge with my data, and I am not sure how to resolve it.
I have a dataset $D$ that it has target value as a regression problem, the following shows the Regressor value:
I need to :
train a model in an episodic format, then I need to divide the data into sample the data points $X$ and their correspon... |
I know it is true for product of two kernels. But I'm not sure if it is the case for infinitely many valid kernel functions. I tried to follow the proof for product of two kernels, but I don't know if I handled derivations related to infinitely many addends/multipliers correctly. So my question is:
First, is the claim ... |
could you explain me in DNN (deep neural networks) context the meaning of "m" and "w" in the following formula (L2 regularization)?
Cost function = Loss + Lambda/2m * sum||w||(exp[2])
I know that m is the number of data points while w the weight. This in a "regression context". I'm a little bit confused to figure it ou... |
Given data for two groups:
Group A: $\left\{ (n_1, s_1), (n_2, s_2), \ldots, (n_k, s_k) \right\}$.
Group B: $\left\{ (n_1, s_1), (n_2, s_2), \ldots, (n_l, s_l) \right\}$.
Where $n_i$ is the number of trials and $s_i$ is the number of successes.
The assumption is that both are samples from a binomial distribution with... |
I have a financial timeseries data with 13 features. When I apply PCA with n_components = 13, the explained variance doesn't sum up to 100%. My intuition was if n_components is same as the number of features, the explained variance should be 100%.
Under what circumstances, is it possible to have less than 100% explaine... |
I have two groups.
Group 1 received intervention A and Group 2 received intervention B. I'm interested in seeing if intervention A is more effective than intervention B. People cannot be enrolled in both interventions at the same time.
Am I able to use difference-in-differences to compare the two interventions, or woul... |
Any help here will be greatly appreciated!
Suppose we have two groups, one composed of ET's from Mars and another from ET's from Jupiter (assuming there are ETs there).
Then, these groups of ETs meet in a friendly space tournament to run over a circular circuit. They just need to appoint and run and, if they like it, t... |
Recently I performed a comparative study where the participants had to perform different tasks using two different VR interaction methods: controllers and hand tracking. They also filled out a survey. I want to check if the answers from the survey (confounding variables) have a statistically significant impact.
From w... |
Reading the introduction of English Wikipedia's article about the t-test, I was confused by this statement:
It is most commonly applied when the test statistic would follow a
normal distribution
To this point I was sure that the key assumption for using t-test is that the data itself needs to be distributed normally ... |
I'm using the python library choix, which is great for converting pairwise comparisons (or a few other subset ranking metrics, top-1 of n and ranked subset) into global rankings using either the Bradley–Terry model or Plackett-Luce.
I want to present images to users and get their arbitrary aesthetic judgement on them, ... |
When I read Wikipedia - Student's t-test I can see it assumes that:
The sample mean follows a Gaussian distribution.
The sampled mean follows a chi square distribution.
Samples of Gaussian distribution clearly holds the assumptions.
Are there any other distributions which obeys it?
While t-test when the data populat... |
Along a path leading through buildings and out, environmental properties are measured, such as temperature, barometric pressure/humidity, light, magnetic field, etc. Especially the light spectrum values seem a bit random so I'm not sure how compare two multivariate time series regarding their environmental properties... |
I'm confused by something I've found by adding a variable with no relationship with a DV, using multiple regression with four predictors and one DV (Y). If I regress $Y$ onto $X_1,~ X_2,$ and $X_3$, the multiple $R$ is less than if I add a 4th predictor with no relationship with $Y$. I didn't think this was possible. I... |
I have been trying to solve this for a long time now, but I still can't figure it out.
Background of the problem:
I have data on two exams. There were suspicions that many people cheated on the first exam, and therefore a second exam was conducted. 400 students took both exams and the maximum score on both exams is 200... |
With relevance to "functional data analysis", I am looking for some approach which can give an intermediate function among these five different function plots, where this "average function" has the closest distance at each point on the x-axis to each of the five plots.
The plots are shown here for the purpose of the qu... |
Does the maximum of a set of random variables have high variance compared to the other variables in the set? If so, can someone give an intuitive explanation of why?
Some details about the motivation:
I am using a random hash to hash a large set of random integers (large domain) to a much smaller range of integers. I a... |
I have converted a time series to a symbolic sequence and want to use machine learning to detect anomalies. In this specific case, every time series represents the same process. So a similar, but not exactly the same pattern is repeated again and again as long as the system is in its non-anomalous state. So something l... |
working on 3 by 3 contingency table, the results of chi-square turned out significant, that was followed by computing adjusted residuals and calculating the p-value for each. only one cell returned as significant P. Any advice on how to interpret how the cell is different from the rest of cells ?
|
I am working on a Machine Learning classifier. It is a binary response and most predictor variables are categorical. I have several years of data and for some years, the response is imbalanced (more 1s than 0s) and for more recent years is gradually becomes balanced (roughly the same number of 1s and 0s). I am calculat... |
I have panel data with COVID-19 variables starting in 2017 to look at how the pandemic affected stock markets. My N = 487 with 494500 daily observations. At the moment I left the time period before 2020 blank in the panel data resulting in my models only taking into account 151000 observations. Am I allowed to fill in ... |
I was looking at the following website:
https://sourceforge.isae.fr/svn/dcas-soft-espace/support/softs/CelestLab/trunk/help/en_US/scilab_en_US_help/jacobian%20matrices.html
Here, we have the following statements.
Quick recap:
The Jacobian J of the transformation x -> y=f(x) is such that:
dy = J * dx
(x and y: column... |
I got this question from an interview.
A and B are playing a game of dice as follows. A throws two dice and B throws a single die. A wins if the maximum of the two numbers is greater than the throw of B. What is the probability for A to win the game?
My solution.
If $(X,Y)$ are the two random throws of A and $Z$ is the... |
I'm trying to decide whether I should use GLMM or GEE for my analysis.
My study is repeat cross-sectional using longitudinal data (with 3 timepoints). I have a binary outcome and both continuous and categorical predictors. Data is hierarchal with hospitals as clusters.
So far, I know that:
GEE: population averages, MC... |
Generalized dissimilarity modeling (R package gdm) is a tool to study the relative effects of the user-defined environmental gradients and the spatial distance decay on the pair-wise dissimilarity between samples (e.g. vegetation assemblages). The spatial distance in such models is by default expressed by a euclidean d... |
Consider recent large-scale deep learning models, such as transformers for NLP applications, or diffusion models for text-to-image generation. These models are trained on huge, readily-available datasets, acquired by scraping the web for text documents and images.
My question is: Are these models considered to be train... |
I was testing out some classifier algorithms in scikit but wasn't able to find a classifier (linear or non-linear) that managed to provide good prediction on whether an input number is odd or even. Here's the code:
import numpy as np
from sklearn.linear_model import SGDClassifier
from sklearn.linear_model import Logist... |
I am currently a penultimate university student studying computer science. I am interested in Data Science and have worked on some data science-related projects and courses. I want to take this certification because I got a 50% discount and want to improve my career prospect as a data scientist. Is it worth to take the... |
There is a group of 20 people. The test results show that the sample mean is 650 and the sample standard deviation is 45. I need to test the hypothesis that the university test result mean is 600.
I am confused because the sample is not large and there is no assumption that the population is normal, so generally speaki... |
I hope you are doing great!
I am currently training an object segmentation model (detectron2 : mask rcnn)
The objective is to detect materials like wood, plastic, glass etc...
wood is one of the categories in my training set.
Is it a good idea to add other labels that are subcategories of wood? Like table, desk etc ...... |
For this loss function:
$$L(w_1,w_2) = -6(0.1\cos(w_1) - w_1^2 - 0.5w_2^7 + \sin(w_2))e^{-w_1^2-w_2^2}$$
Assuming the X (features) and Y (target feature) are embedded within the coefficients, so you can ingnor them.
I want to add an $L2$ penalty:
$$\lambda \sum^m_{i=0} W_i^2$$
Since I have two parameters $w_1$ and $w_2... |
I am fairly new to machine learning and Neural Network. I was given a scenario where there is a 2-input single unit backpropagation Neural Network has 3 initial weights. The inputs are x and y. The weights are WO, Wa, Wb.
To my prior knowledge, each weight is connected to each input. Thus, a 2-input neural network ofte... |
I know you can rank genes by p-/q-value, or by log2 fold change. But can you combine the two methods somehow?
I have read about combining fold change and p-value here but what is one advantage and one disadvantage of using this ranking method?
|
Let's assume I have a paired data to analyse, for example from a longitudinal study.
A typical approach in biosciences is to use marginal (rather than conditional mixed) model, namely the linear model fit using the Generalized Least Square. The role of this model is to account for both heteroscedasticity (between timep... |
i have 30 observations of yearly data and i try to do quantile but results is all of my variables is not significant. im wondering if we can use quantile regression on yearly data? or is there any minimun observation?
|
I have data from two sample surveys done on Maternal Mortality. At each survey, the number of live births and the number of maternal deaths have been recorded. I have calculated the Maternal Mortality Ratio (MMR) per 100K live births from each sample. Now, I would like to see whether the MMRs are statistically signific... |
I have measured one continuous variable (muscle density) six times on each subject. The six different measures are taken from 2 different regions of the muscles, each region having three different sites of extraction.
I would like to check if subjects have different values in muscles' density considering age and gender... |
I have this problem that I have been trying to solve using a random process (such is the task).
There are $n$ keys. Only one of them opens the lock. The keys are tried without replacement. Find the expected number of tries before the right key is found.
I know that the probability of $k$ arrivals from time $0$ to tim... |
I'm developing auto grading essay that compares the similarity between the answer key and student answer with cosine similarity. This one is written in php. Let's say in a course there are 30 - 100 students. So my documents should be 31 - 101. For simplicity, take 31.
Should I perform TF-IDF on all documents at once an... |
I have collected data from all the exercise science degree programs in my nation through databases (thus representing the population under study).
I would like to investigate whether certain credits awarded by degree programs are evenly distributed across the nation or is there any prevalence. I had thought of Levene'... |
How to analyse such type of residuals?
|
I am conducting a meta-analysis with 3 treatments (manual therapy, dry needling and placebo) and 3 outcomes (VAS, QoL and ROM, all of them are continuous variables). With metafor package I have R code to perform multivariate ma with multiple outcomes, and on the other hand, to perform a network ma with multiple treatme... |
How do I know if my logistic model's numeric variables violate the linearity assumption on the log(target variable)?
I am using the code found at THIS LINK. They graphed on the same data but I, personally, only used my training data.
The variable age and pedigree is not linear and might need some transformations.
I'... |
I have an edf data here that I got from this website. The data was supposed to be fed into an ML model. The data is taken from a sleep study (polysomnography). However, the data for some of the signals were sampled with different frequencies as is described in this table:
So for the signals that were sampled with 200H... |
I have been working on analyzing some data and had some strange results. I want to verify that I am setting up my model correctly before writing this up. Data below:
structure(list(X = 1:6, sub = c("59917f16e339120001fb8c21_fvHlk:5fbd11ca7025930168297956",
"59917f16e339120001fb8c21_uK9Bt:5fbd11ca7025930168297956", "59... |
Please help. I am writing up a research report on my findings and whilst I've performed the analysis with my supervisors' guidance, I have to write up the results over Christmas period with no help. I am a qualitative researcher usually so this is all new and my brain hurts.
I have 2 groups. Both have similar baseline... |
So I know that the ratio of two normal distributions is Cauchy. My question is, what are the resulting parameters of the Cauchy R.V., assuming the normal RVs are centered at zero and independent? I'm assuming location is zero, but what about the scale parameter? Thank you in advance.
|
Let's say I have a dataset that hasn't been split into train/test yet.
Upon loading it, I discover that there are columns where there are nulls that need to be filled in, some quadratic relationships that results in us squaring the independent variable in the model, binary strings that need to be one-hot encoded, and a... |
I want to find a single metric to assess how spread (or how much variance) a multidimensional dataset (a large number of features) is. I learned that the determinant (or pseudo-determinant) of the covariance matrix of features could be a good measurement (the volume intuition). However, taking pseudo-determinant as an ... |
Imagine I am looking for the association between test score and whether eating candy (candy Yes or No) before taking the tests. I randomly select students from 8 random schools (A,B,C...H). Here is the plot of the data (Figure 1):
set.seed(2)
candy<-c(rep("No",200),rep("Yes", 200))
school<-c(rep("A",90),rep("B",90),rep... |
I runned several ordered logistic regression using the polr function from the MASS package and interpreted the odds ratios for each model. However, I'm in doubt how to use the intercepts/tau-cuts from the regression summary output. Can I use them to say that the distance between each category is far or close to the hig... |
I'm conducting a meta-analysis and I'm wondering if I can make direct comparisons between different types of effect sizes? For example, can I compare a Cohen's d calculated from one study to a log-response ratio to another? I am wondering if this is an ok practice or not because for some studies it is natural to comput... |
I'm preparing a longitudinal dataset (with up to 5 observations per participant) for Cox regression in R. I have data for the follow-up period and date (FUPeriod and FU, respectively), the date of hospital discharge (HospDis) and the date of death (Death; if applicable).
ID
FUPeriod
HospDis
FU
Death
1
0
2017-09... |
Suppose I roll a 6-sided die 100 times and observe the following data - let's say that I don't know the probability of getting any specific number (but I am assured that each "trial" is independent from the previous "trial").
Below, here is some R code to simulate this experiment:
# Set the probabilities for each numbe... |
I am trying to run a post-hoc power analysis on a previously conducted study, in which the results were analysed through a two-way repeated measures ANOVA (I used a 2x2 within-subjects design). Through the previous analysis, I already have the effect size (Cohen's f), sample size, and alpha, so based on these measures,... |
From Wikipedia I have the compliment of the CDF parameterized for fat-tails distributions.
$$
\Pr[X>x] \sim x^{- \alpha}\text{ as }x \to \infty,\qquad \alpha > 0.\
$$
In forecasting literature a conservative heuristic is to manage variables with $\alpha \leq 2.5$ as practically unpredictable.
Distributions that have po... |
I am trying to figure out what the nth central moment is for the exponential distribution.
Here is the formula for the nth moment:
$$
\mathop{\mathbb{E}}{[x^n]} =\dfrac{n!}{\lambda^n}
$$
My question: what is the continuous formula for the exponential distribution for the nth central moment?
|
How does multiplying a matrix with its transpose equal "minimizing" it?
When calculating the partial derivative, where does the X' come from?
Why setting the value of third equation to 0 is legal here and why did the X' changed again to W' in the third equation?
|
When calculating moments of probability distributions, what would motivate you to take the moment about the mean (called "central moment") versus the standard moment about the origin?
|
I'm working with the Demographic and Health Surveys data, which is a nationally representative household survey that uses a complex, two-stage cluster sampling design. In essence, this means that first, primary sampling units (like a community or census area) are selected with probability proportional to population siz... |
I have read in many different studies now that take the natural logarithm of one plus x.
For example, in econometrics many studies use the natural logarithm of one plus the total assets.
I do not understand why, because assets are so big anyways that adding one would not make a difference, or?
For example:
Natural Loga... |
As the degrees of freedom increase, the chi-square curve approaches a normal distribution. But what about increasing the sample size?
If I am using degree of freedom =1, but with different sample sizes (eg n=10, 30 and 50), will the chi-square curve become more normal with increasing sample size?
|
I need to interpret the calculation of the confidence interval (CI) for the Cox-Ingersoll-Ross (CIR) proсess.
From the paper (Nafidi et. al., 2021) we know that
transition probability is $p(t, y|s, x) \sim \zeta \chi^2_k(\lambda) $, with degrees of freedom
$k = \frac{4}{\sigma^2} \theta \beta$,
$\zeta = \frac{\sigma^... |
I want to prove that given a linear model $f_\beta$ and IID data with parameters $\beta_j$. That takes the form $f_\beta = \sum_j \cdot \beta_j\cdot x_j + c$.
Then if there is a change in the predictions $f_\beta(x) \neq f_\beta(x')$ then it implies a change in the contributions to the predictions
$ \sum_j \beta_j \cdo... |
From the page for GBR (here) in scikit learn, the score use R2 as evaluation metric. As far as I know, R2 is majorly for linear regression. Why is it used even in gradient boosting regressor, which should be a non-linear model itself?
Moreoever, I've used the model for modelling some fluctuation of price. Despite the r... |
According to Forecasting: Principles and Practice
Seasonality is always of a fixed and known frequency.
If it is a fixed and known frequency, does that mean every series with monthly or quarterly data can use methods that captures seasonality?
I am asking because I am not sure if I could use SARIMA and Holt-Winters w... |
I have two dimensional data, to which I'd like to fit a spline function.
A spline would be defined as this:
y_0 for x<=x_0
y_0 + a * (x-x_0) for x_0<=x<=x_1
y_1 = y_0 + a * (x_1-x_0) for x>=x_1
So, constant line -> linear function -> constant line.
I want to find out values of x_0, x_1, y_0 and a minimising RMSE (or ... |
I've only just started learning logistic regression so bear with me. As I understand it, the logistic regression model is as follows:
$$\log\left(\frac{p(X)}{1-p(X)}\right) = \beta_0 + \beta_1X $$
where p(X) = the proportion of successes.
Please tell if I'm wrong but isn't the logistic regression model effectively a li... |
I am conducting a research project implementing exact matching to seek to isolate a marginal effect of a binary exposure variable on a binary outcome (via MatchIt in R). I am using logistic regression as the model after matching, however, I feel confused about some aspects of the analyses.
Is it correct to say that by... |
Is Z a random variable of X if it is transformed from X? If Z is a random variable, and therefore a function, of X, could one denoted Z as Zₓ(x)?
|
This is the desired graph
Here is the data: https://github.com/UnlimitedR/share/blob/main/mydata.csv
If so, could anyone please tell me how should I implement the R codes for it? Including drawing the CI area.
This is currently my code
df <- read.csv("mydata.csv")
print(sum(df$PRS))
library(ggplot2)
df$incidence <- 1... |
In this post, I will outline a proposed procedure and ask for critical review of the approach's validity. The context is that in a business experiment, it is known that the response variable in the test group was elevated (relative to the control group), prior to the experiment's start.
The response variable is a binar... |
Here is my question. I am comparing two logistic regression models which use the same data and endpoint but different variables. My goal is to see if the model improves based on the performance using AUC. In the first model, my reference model's AUC is 0.754(95% CI: 0.634-0.873). After including the new variable in the... |
Why does the theoretical frequency in chi-square distribution should not be less than 5? What's the concept behind pooling the preceding and succeeding frequency to make pooled frequency more than 5?
|
I used the ROSE package in R to balance a dataset. I wasn't sure which would yield better results so I split my data into training and test sets (75/25) then over and undersampled my sample before running a logit model. My AUC is the same for the over, under and non-sampled models and I'm not able to rationalize why.
S... |
I am doing a survival analysis where my event of interest is time to operation, so what I have coded my status variable is as below:
Status 1 0 2, where 1 means operated, 0 means non-operated and 2 means they had no operation and died before end of follow-up.
So, in my cox regression what I do is:
m1<-coxph(Surv(tim... |
I was following this other example on how to find lasso regression in r . The image posted below is the image of the codes. I need help with find the RMSE
|
The question is about a very basic problem in first statistical classes.
I have two independent sample, $X = \{x_{i}\}_{i = 1}^{N_1}$ and $Y = \{y_{i}\}_{i = 1}^{N_2}$ each coming from a gaussian population: $X \sim \mathcal{N}(\mu_x, \sigma^2_x)$ and $Y \sim \mathcal{N}(\mu_y, \sigma^2_y)$. Both samples have small siz... |
I tried to find p and q by using auto.arima function in RStudio. It gave ARIMA(1,1,0). However, after applying p=1 and q=0 to the GARCH model, ar1 became insignificant and AIC became higher. p=0 and q=0 gave the best results according to the Information Criteria. I want to know whether I am doing something wrong.
libra... |
I am working with data from a survey with a sample size of 25, although not every question has 25 responses. We are looking at data from farmers. We are assuming that the data is normal, since we are treating our sample as the entire population. I have been using the pearson correlation coefficient for this. I have bee... |
I performed PCA using two different R functions fviz() and ggbiplot() to improve the visualization of data. The sum of the first two PC is equal between the two methods, but there is a different value of variance explained for these principal components depending on the method. The ggbiplot() gives standardized PC1 & P... |
I want to test Tau-Equivalence in a CFA model, under LAVAAN. If I don't free the first item in a factor, it will be automatically set to 1 (reference indicator), so I fixed the factor variance to 1, and freed the loading linking the first indicator to the factor:
model <- 'F1 =~ NA * x1 + x2 + x3
F2 =~ x4... |
Say $x\sim N(\theta,\sigma^2)$, where $\theta\sim N(\mu,\tau^2)$. It feels like we can just say $x\sim N(\mu,\sigma^2+\tau^2)$. But how can I show this? Thanks.
|
I have first level differenced an independent variable in order to combat unit root in panel data. My panel data consists of N = 487 and T = 1491.
When comparing the coefficient of the original variable in a fixed effects model (beta = 0.001740 with p < 0.001) to the differenced variable in a fixed effects model my sig... |
I'm quite new with linear mixed-effects models. Could you tell me some general rules to choose which effect is fixed and which effect is random in my regression model? Also, how do you decide when to add random slopes in addition to a random intercept? Is the choice mainly driven by model comparisons based on BIC (for... |
Apologies if this has been asked before.
I am currently reading the book "A Student's Guide to Coding and Information Theory" by Stefan M. Moser and Po-Ning Chen. It claims that:
"The codeword lengths $l_i$ of a Fano code satisfy the following: $$l_i \le \lceil \log_{2}{\frac{1}{p_i}} \rceil$$ where $\lceil \xi \rceil$... |
If you toss a coin so that it only flips over once before landing we would not consider that to be a fair toss. If the coin is tossed again so it flips hundreds of times then it would be considered a fair toss. But the only difference between these two situations is our state of knowledge. Both coin tosses obey the sam... |
An earlier question discovered the first use of the ReLU function. In what paper was the Leaky ReLU activation function first used? By that, I mean the first use of this equation:
$$
f(x, \alpha) = \left.
\begin{cases}
x & \text{if } x \geq 0 \\
\alpha x & \text{if } x \lt 0
\end{cases}
\right\}
$$
This f... |
When using a circular variable as a predictor (X) in a linear regression, the consensus seems to be to split the variable into sine and cosine terms.
e.g. Y ~ cos(X) + sin(X) + etc
This creates two parameters that represent a single variable.
My question is: How would one interpret the effect of X on Y now that there ... |
I ran a Kruskal-Wallis H test and the result was .000. So, I ran a post hoc pairwise comparison to see where the difference precisely exists, and one of the results was a p-value of .047. SPSS did not highlight it in yellow like the other significant results.
Should I report it as a statistically significant or insigni... |
A few days ago someone asked a question about dice in an interview. Naturally, one can consider the following more general problem. Suppose there are $n$ dice, with numbers from $1$ to $n$, on them. Person A throws $(n-1)$ dice in total, and person B throws a single die. Player B wins if his number is larger than the m... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.