instruction stringlengths 9 38.7k |
|---|
Consider a class of $N$ students. I give them an assignment containing $M$ multiple choice questions ($M>0$). Each question is either right or wrong. The students give me back the scripts with their answers. Thus, for each student, I have one script containing $M$ questions and answers.
I decide to mark them using the... |
As a part of a research project, I have collected a set of data (2 questionnaires). For each participant I calculate 8 variable (4 by questionnaire). I want to prove that their is a relationship between the first four variables and the second four variables. What should I use? Correlation (Pearson) or Regression or ano... |
can anybody recommend software for cluster analysis of dichotomous data (using appropriate coefficients, e.g. from Finch, 2005 1)? I have access to Statistica but it seems to me that it is not possible to analyze binary answers there.
|
I saw it sometimes that the input data for Neural Networks was scaled to $[0, 1]$ (or $[-1, 1]$), but also sometimes that it was normalized.
E.g. for a greyscale image the normalization was done using the distribution of the different pixel values of the specific input image. But this has the effect that different imag... |
I am still new to R and having issues searching the right terminology for my problem. I have the following equation:
ln(AGCestimate) = ln(a)+b1ln(Canopy)+b2ln(BA)+b3ln(BAD)+Error
BA and BAD are both linear models themselves
BA = m1Canopy + b1; and BAD = m2(Canopy) + b2
I am not sure how to code this though, with mod... |
Simple LR as part of a mediation analysis follows the theoretical model: M = i3 + aX + e3.
One of the models in the stacked analysis is fine... the other one is a bit strange. Why do my residuals look like this?
So, the dependent variable is a continuous latent. The original 10 questions that are used to construct ... |
I want to fit a non ordered multinomial model to data. In it, the dependent variable has 3 categories (success, partial success, fail) and i have a binary predictor and two other continuous predictors (raw measures for length and speed). I have obtained thousands of observations from a hunting videogame in which the pl... |
I am running an LDA model, and when I do so the resulting model returns empty topics:
Topic 1 Topic 2 Topic 3 Topic 4 Topic 5 Topic 6 Topic 7
"character(0)" "character(0)" "character(0)" "character(0)" "character(0)" "character(0)" "character(0)"
Topic 8 Topic ... |
I am currently running some analysis on two data sets. One is a 'background-only' sample that is modeled as a decaying exponential and the other is a "signal" sample that features a single peak on top of this exponential background. I would like to preform a test to see how statistically significant this peak is, i.e. ... |
I have this linear regression:
$y_{i}=\beta_{0} + \beta_{1}x_{i} + u_{i}$ with $i=\{1..n\}$.
Say $\hat{\beta}_{1}$ is the OLS estimator of $\beta_{1}$. $\hat{\beta}_{1}$ is BLUE since the Gauss Markov assumptions hold.
Now I am asked to show that $\tilde{\beta}_{1}=\frac{y_{n}-y_{1}}{x_{n}-x_{1}}$ is less efficient th... |
I have the mean value and my question is: is it possible to calculate the standard deviation assuming a normal distribution? Looking at previous questions which have been asked, this question is different from other the variants about how to calculate a standard deviation. Thanks.
|
I have an issue where I want to see if two events may coincide by more than chance.
For instance given the following data I may hypothesise that "Alice" and "Bob" come into the office together more frequently than chance.
IN_OFFICE ALICE BOB CHARLIE EVE
MONDAY x x x
TUESDAY x ... |
I have a vector of p-values that need correcting for multiple comparisons; based on reading Noble (2009), I am attempting to apply a Benjamini-Hochberg FDR-based correction.
My vector (sorted in ascending order for ease of visualisation) is:
ps <- c(0.019, 0.022, 0.023, 0.023, 0.025, 0.025, 0.027, 0.028, 0.029, 0.03... |
I am creating a web application that is supposed to perform a Mauchly Test but I cannot find hand written or worked examples anywhere. It is imperative that the answer must not provide examples using applications such as SPSS or R etc as I will be doing all calculation through PHP.
Would somebody be able to show the wo... |
I'm using xgboost for a problem where the outcome is binary but I am only interested in the correct probability of a sample to be in class 1.
My current approach is to use the XGBClassifier in Python with objective binary:logistic, use predict_proba method and take that output as a probability for class 1.
I that metho... |
I am particularly baffled with the idea of sampling from the likelihood.
To give some context, I am studying particle filters and am investigating the "Likelihood Particle Filter". I am reading this Tutorial(Appendix Section) at the appendix section. My questions are written in bold.
In the context discussed, it is a... |
I am using auto.arima for a simple sine time series where freq = 3. The series is plotted as follows:
I use the following code for model fitting:
data = ts(x,frequency=3,start = 1)
model = auto.arima(data,stepwise=FALSE, approximation=FALSE)
plot(data$residuals,type='l')
When I check the residuals of the fitted model... |
Are there other alternatives to the Mauchly's sphericity test?
I am about to run a Repeated Measures ANOVA and a One-Way ANOVA and must perform a pre-requisite check on the dataset. I was wondering what are the other alternatives to Mauchly's sphericity test.
|
My model loss is quite stagnant, although there is a very mild decrease. Would it help if I increased the learning rate suddenly to get it out of the local optima? is this a valid strategy?
Also, if I got into a bad local optima initially due to too low a learning rate after decaying, does it make sense to have a lower... |
I am very intrigued regarding the restricted mean in time to event analyses.
I understood it's an estimate of the time to event in a population considering that some people experienced it and some other not.
But when I used it with real data I found some results that made me think I didn't understand it's meaning at al... |
I want to fit the model Yt = a + bt + Zt to my data, where Zt is white noise.
Does the function m=lm(data) include white noise or would I need to add Zt on?
|
I have a model which is of the following deterministic form:
Y = A + B + C
A, B and C are piecewise-linear functions of a, b and c, which are macroeconomic variables. I have the values (nodes, slopes) for all the segments of these PWLFs.
I need to run diagnostics (assumption tests, performance tests etc.) on this mod... |
The question I have to answer is the following:
Check statistically at the 0.01 level of significance whether there is any evidence that bill expenditures are income inelastic.
I have a log linear equation :LN(Bill)= -9.4 + 1.781 * LN(Income)
Can anyone tell me how I can run this hypothesis test?
|
I am new for time series analysis. I have a dataset with 105216 rows from "2014-01-01 00:00:00" to 2016-12-31 23:45:00. This data is for every 15min.
I have converted my data into timeseries using this
m2 <- ts(m1,frequency = 35072, start= c(2014))
m3 <- decompose(m2)
start = 2014 , 1
end = 2016, 35072
1)... |
I am new to Cox regression / survival analysis, and I wonder whether the coefficient in Cox regression is invariant to changes of scale in the survival variable. That is, do I get the same coefficient estimates regardless of whether the survival variable is measured in years or days, for example?
|
I’ve done 2 testing on 40 users using 2 Mobile App for each one
I’ve got the time that each user has spent on them
T-Test’s result is:
t=0.48448,df=76.638,p-value=0.6294
Hyp-Alt: true difference in means is not equal to 0
95% confidence interval:
-5.443252 8.943252
mean(a):13.95 mean(b): 12.20
|
I'm using jmp for my analysis, and I have data from what is ultimately a mixed model. The problem I have is that JMP doesn't have the ability to run GLMM. You can, however, run a mixed model with a standard least squares personality.
My question is: what am I missing out on by not having the GLMM functionality? What i... |
I have a general methodological question. It might have been answered before, but I am not able to locate the relevant thread. I will appreciate pointers to possible duplicates.
(Here is an excellent one, but with no answer. This is also similar in spirit, even with an answer, but the latter is too specific from my per... |
Let me introduce the context: I need to evaluate how my TAs tend to grade students.
Ideally I would like to pinpoint whether they show some sort of internal consistency (e.g., a TA usually grades almost always above/below a reference grade, or is inconsistent and the grades fluctuate).
I would like also to identify a w... |
So, I have seen many questions here asking whether it is a good idea to use AIC/BIC for determining the optimal number of hidden states for an HMM. What about the number of observable states though?
In my case, I am using a discrete HMM, where I quantised the continuous time-series observation signal to obtain a sequen... |
Please can someone explain how to construct one with a little example. For instance let the pairs be $(X,Y)=\left\{(2,36),(8,12),(4,32)\right\}$ then what is $Fn(x,y)$?
I didn't quite catch the notion of comparing the bivariate dataset as pairwise in the indicator function?
|
As the title said, for a given state space $\Theta$ and loss function $L(\theta,a)$, if a (randomized) decision rule $\delta$ is a minimax decision rule with respect to $L$, i.e. $$sup_{\theta}E^{X\mid\theta}L(\theta,\delta(X))=inf_{\delta\in\mathcal{D}}sup_{\theta}E^{X\mid\theta}L(\theta,\delta(X))$$ among a class of ... |
I have couple of questions. To give short background, I am trying to estimate ATET based on stratified matching. First I used logit model to estimated propensity score of being treated by covariables.
m_ps <- glm(train ~ age + agesq + re74 + re75 + nodegree + black + hisp,
family = binomial(link="logit"), data ... |
Which approaches are exist for the estimation of a item difficulty from the statistical data?
Are they measure objective item's complexity?
|
I created a population of a normally distributed value. Then I pulled 100 000 samples out of it. For each of them I calculated 95% confidence z-interval. I expected to see that at least 95% of intervals would contain a population mean, but in fact only about 94% did. I tried this many times, and there was 94% again and... |
Let's say I have two models:
lifeexpF~group + log(ppgdp) + group:log(ppgdp)
lifeexpF~log(ppgdp) + group:log(ppgdp)
group is a factor
I understand that the first model is the general model, and it gives a different slope and intercept for each group. For the second model, I think the slopes are all different, but the in... |
Can anybody suggest how I can compute the second moment (or the whole moment generating function) of the cosine of two gaussian random vectors $x,y$, each distributed as $\mathcal N (0,\Sigma)$, independent of each other?
IE, moment for the following random variable
$$\frac{\langle x, y\rangle}{\|x\|\|y\|}$$
The close... |
I have a dataset with i number of variables.
One of the variables has only 50% available data ( total is about 1500). If I distribute the records into regions (=27) (or stratum), sample size per stratum would be too small.
If I do multiple imputation, will the resulting dataset valid for per stratum analysis? The set o... |
I am using the beautiful "rugarch" package and presently have an issue concerning the interpretation of two asymmetry parameters: eta11 and eta21.
As per the package documentation, eta11 and eta21 stand for the rotation and the shift parameters respectively of the family-GARCH nested model news impact curve (NIC).
Th... |
I have a GLM where I'm predicting a proportion response (# correct items / total # of quiz items). The common recommendation in this case is to assume a binomial distribution and use a logit link. For example: What are the issues with using percentage outcome in linear regression? and Regression for an outcome (ratio o... |
As the title indicates, is there a difference between recursive parameter estimates and time-varying parameters. I ask this in the context of time-series.
For example, recursive parameter estimates can be obtained by, say, taking a linear regression model, estimating the model on an extending sample period, and recordi... |
I am new to statistics.I am trying to compare 2 networks. Can anyone pls help me to understand what the degree distribution of the 2 networks say. I mean the similarities or differences bet the 2 networks.
Degree distribution of original graph with 198 nodes & 2742 edges
Degree distribution of a random graph with same ... |
How Does TBATS Work? Or let me know where to find a good high level description of how TBATS fits a model to complex seasonal data. For example data that has a year, month, day, hour seasonal pattern? I'm looking for something similar to what you can find for auto.arima at https://www.otexts.org/fpp/8/7. I've been w... |
I'm a Statistics and CS double major and I must take two more math electives to complete my degree.
I have four choices for the Math courses I could take and I was wondering which of the two would be most beneficial for Machine Learning or Artificial Intelligence.
My choices are:
(1) Combinatorics 1 (2nd year course, a... |
I would like to do an ANCOVA on a set of 2 continuous data set (before and after pill) and one factor with 3 levels (3 pills) Here is the graph of before pill vs after pill with pill taken in colour:.
I would like to know how to evaluate the equality of regression slopes for each pill.
I was thinking of an ANOVA like ... |
I have a process which I suspect involves two exponentially distributed waiting times of different rates. That is, I am measuring $T = T_\lambda + T_\mu$ with $T_\lambda \sim Exp(\lambda)$ and $T_\mu \sim Exp(\mu)$. Writing down the distribution for $T$ is not problem:
$$p(T | \mu, \lambda) = \lambda \mu \int_0^t e^{-\... |
Assume events occur as a Poission process with parameter $\lambda$ in a fixed size interval.
Assume $Y$ is a random variable, $Y = \frac{\text{count of intervals with 0 events}}{\text{total count of intervals}}$
Therefore we know that
$E(Y) = P(0 \text{ events occur})$
or $E(Y) = e^{-\lambda}$.
Now I observe a value... |
I am trying to compute the first two principal components of a parallelogram with vertices (0,0), (2,0), (1,1), (3,1) of uniform density, as well as their variances. The obvious choices appear to be the two diagonals. However, I am not sure how to prove this, and how to compute the variances of these components.
|
I saw this on reddit.
Basically, there are 10 teams. Each team plays each other team twice, so every team has 18 games and "9 two-game series." What happened in this scenario is each team "split" at least two series, creating this circle that creates a win/loss chain connecting every team in both directions. I was tryi... |
In the step of learning Markov chains, I came across few questions from assignments on UTDallas website. Finding the transition probabilities seems a bit hard for me in this one particular question only. The question is
(Sec 7.3, page 355, #1) Consider a system with two components. We observe the
state of the system ev... |
I'm looking to build a fixed effects or random effects model.
The aim is to find the impact of non-performing loan ratio (NPLR) and capital adequacy ratio (CAR) on return on equity (ROE) for banks.
But I want to add a bank specific time-invariant variable into the model.
Are there any suggestions?
|
Suppose I'm conducting a multiple regression with two predictor variables (X1 and X2) and have found a significant interaction effect.
Let's say X1 = aggression, X2 = gender (men/women), and Y = health. So I want to know how aggression predicts health differently for men and for women. Because the interaction (X1*X2) i... |
I'm not sure if this is the right forum but here goes:
I have a requirement to attempt spot patterns in data , more specifically bank transaction data. There is transaction date, amount, description e.g.
6/2/2017 COFFEE 5$
6/2/2017 EMPLOYER DEPOSIT 1000$
10/2/2017 GROCERIES 50$
20/2/2017 EMPLOYER DEPOSIT 1005$
20/2/20... |
I saw this derivation of the variance formula $\text{Var}(X)=E[X^2]-(E[X])^2$ in the Wikipedia article on Variance:
I don't understand how to get from step 2 to step 3 (the section with the pink rectangle)
|
Please consider the following situation, which happens a lot in real life applied research in social sciences.
Some percentage of the respondents give ‘straightlined’ or ‘patterned’ responses to a self-reported questionnaire, consisting of several Likert scales.
What criteria should be employed to make a decision as ... |
If LASSO treats collinearity than why use PCA?
I did not understand the question properly and the interviewer was not ready to give any hints
|
Given observed results of this [nhanes dataset]:
$$
\begin{array}{c|c}
& \text{Age} & \text{BMI} & \text{hyp} & \text{chl} \\ \hline
& 1 & \color{maroon}{N/A} & \color{maroon}{N/A} & \color{maroon}{N/A} & \\ \hline
& 2 & 22.7 & 1 & 187\\ \hline
& \vdots & \vdots & \vdots & \ddots \\ \hline
& 2 & 27.4 & 1 & 186
\end{ar... |
I've heard people use the term spurious correlation in so many different instances and various ways, that I'm getting confused. Moreover, the Wikipedia page for Spurious relationship states:
“In statistics, a spurious relationship or spurious correlation is a mathematical relationship in which two or more events or va... |
What is the "standard" function one minimizes to estimate the parameters for logicistic regression? What is implemented in R?
I thought it was the squared error but a machine learning course I am following suggests a loss function of the type:
$ -\log h_\theta (x)$ for $y =1$
$ -\log (1- h_\theta (x))$ for $y = 0$
$h_\... |
I would like to estimate a probability density of a given probability/proportions variable.
Consider estimating the click through rate density (CTR - number of times image clicked/number of times viewed) across web sites: eg what is the probability that a randomly selected web site has CTR <1%.
Now the data available... |
I'm studying a dataset of 10,400 observations (schools) across Italy. My dependent variable is at school level, while among my explanatory variables I have some of them at province level (the main regressor is social capital). Thus, I was thinking to use clustered SE at province level (with different number of observat... |
I have a time series of data taken from a meteorological station, and I have to extract values from it which are located on a precise point of time; problem is that the station time series I have only gives me average values of measures every half an hour. There is some method to get a smoth line from it, so I can take... |
I have a dataframe with 20 variables describing the situation of the students in a school while the do two different courses. Now, I am studying if there are multicollineality between some columns and I have the next question:
I have two categorical variables (with the same 4 categories) describing if a student has a ... |
My original dataset with 48 subjects has a considerable number of missing items. Majority of the data is categorical (dichotomous) and some of it is ranked (ordinal). I performed a multiple imputation using MICE in R. I am interested in running the following tests: Fisher exact test for relationship between two variabl... |
I have an unconventional optimization problem. At least for me.
PROBLEM:
$$
\max_{c \in C(N,n)} F(c)
$$
where:
$C(N,n)$ is the space of the combinations of $n$ objects, out of $N$;
$F: C(N,n) \rightarrow \mathbb{R}$;
$F$ is computationally very heavy to evaluate;
Exists $G: C(N,n) \rightarrow \mathbb{R}$ that (empiric... |
In non-negative matrix factorization (NMF), the problem is to minimize $A - WH$. Dimensions are $A$ (m x n), $W$ (m, k) and $H$ (k, n). The matrix $H$ reveals soft clustering assignments of $n$ items over $k$ clusters, and is called clustering indicator matrix. Values in $H$ are constrained to have nonnegative numbers.... |
I am working on supply response of major crops in Pakistan for my thesis. I have zone wise data for prices, area and production. Each zone has a few Districts in it. Now all the area and production data varies but the prices are same for all the districts ( all district farmers sell in the same central zonal market). W... |
I have a dataset of legislative roll call votes.
This dataset contains the votes of all members of Congress during on specific period (in this case, 2 years). The data is mounted according this following structure:
Legislator A: N | - | - | Y | Y | N
Legislator B: N | - | Y | Y | Y | N
Legislator C: Y | Y | Y | N | - ... |
When simulating a system (e.g. visualising a 2d surface) it is common to create some form of random sample of a surface as the base artefact, and then run the simulation across that using a second random sampling of the base artefact to simulate system's sampling noise.
It is normally presumed that the initial random s... |
An issue that happens quite often in my experiments is the model varies in performance when random state for the algorithm is changed. So the question is simple, should I take random state as a hyperparameter? Why is that? If my model outperforms others with different random state, should I consider the model as over ... |
My background in statistical mathematics is poor. I don't know why $y_{i}/x_{i}$ and the residuals of the linear regression $y_{i}$~$x_{i}$ are always linearly related (whether X and Y are related or not). Can someone explain what is going on there (mathematically and intuitively)?
This question is motivated by want... |
I do not have any experience doing statistics with data from a meta-analysis. However, I am working on a research project at the moment where I must look for a significant difference between groups in the meta-analysis. But my project advisor is off at the moment and I would like to begin this part of the project befor... |
I am trying to build a regression model following the instructions from the book Introduction to linear regression analysis by D. Montgomery and others.
I am about to perform "all possible regressions", but first I have to determine if they are feasible. But I can not find anything in the book (or via google) on how t... |
I am working on a Bayesian multilevel regression model, which is specified as
$$
y_{ij}=x_{ij}'\beta+\delta_j+\varepsilon_{ij}\\
\delta_j=\gamma_{\operatorname{region}(j)}+\eta_j
$$
where $i$ indexes county, $j$ indexes state and the slightly awkward notation $\operatorname{region}(j)$ denotes the region of state $j$ (... |
I have a two data sets which consist mostly of number between 0 and 1. The standard deviation is 0.1945, which means the variance would be 0.03783. Does this value still work when doing t-tests, even though the variance gets smaller?
|
I have some trouble detecting structural breaks in a dataset.
The dataset has multiplied time-series, and it follows a trend. I want to find a structural break when the time-series breaks the trend. The structural breaks occurs when the value randomly goes from i.e. 2000 and drops to zero, or close to zero. Others can... |
I ran a logistic regression and know how to deduce the probability of success from select parameters:
predict(glm , data , type = "response")
However, how do we go the other way around? Let's say my data is composed of :
survival (binary) (outcome)
age (continuous) (parameter)
sex (binary) (parameter)
I wo... |
I have a set of 150 features, and many of them are highly correlated with each other. My goal is to predict the value of a discrete variable, whose range is 1-8. My sample size is 550, and I am using 10-fold cross-validation.
AFAIK, among the regularization methods (Lasso, ElasticNet, and Ridge), Ridge is more rigorou... |
I'm trying to find the correct terminology for a dataset I'm working with: the data consists of events that have a time of occurrence (irregular, i.e. not from a fixed sample rate) and a scalar value. The aggregated values (their sum) represent the system's state. The events are largely independent w.r.t. both timing a... |
My current understanding is that sphericity violations inflate the F-value and therefore type I error. I'd like to know how exactly this manifests itself mathematically.
To follow-up, why does sphericity only concern itself with repeated measures within a given factor? In other words, how is it that differences in the ... |
I fail to understand when we call a family of distribution is complete and when a statistic is complete. What is the difference between both?, Is there a relation between them? Please provide examples along with your answer.
|
Just an early warning before you read the rest, I am probably missing some theory behind it and I have lack of knowledge that needs to be filled with this question. So, what I will say might be very basic and may sound stupid!
As far as I see, in machine learning tasks, a common approach is to generate a bunch of featu... |
Where does the delta method's name come from?
I don't see anything related to "$\epsilon$-$\delta$", nor Dirac delta for example.
|
I'm trying to build a model based on some training set.
The training set contains 1460 observations, with 79 variables each (features).
I'm using linear regression to build a model and after that building a step-regression model (forward selection algorithm), and still getting large value for RMSE.
I'm very new to data... |
Residuals vs. Fitted Values plot
Can someone tell me which OLS assumptions might be violated according to the figure and why? Moreover, what are the consequences for the point estimators and the standard errors?
|
I have been reading some resources and various techniques have been used to standardize the predictors in a regression model. Below, the first two are common approaches as far as I understand. The third one does not seem to be that common.
(1) Centering the variables by subtracting the mean
(2) Converting to zscore by... |
Let's say I have data at the country-year level -- say, on Gross Domestic Product (GDP) and capital stock (K). I'd like to know the relationship between the two, So I regress GDP_it on K_it and other stuff, and come out with a coefficient that measures the relationship.
But, I have reason to believe there's variation ... |
I have a very basic question. In a linear regression model, we basically find the linear line by minimizing the error terms. Then, due to check for the homoskedasticity visually, we plot independent variable vs random part. And, we look for any change in variance of error term with respect to the independent variabl... |
I’m trying to identify the 95% confidence interval of either the mean or the median of non-normal data generated through Monte Carlo simulations using R. I’ve already applied both the bootstrapping method as well as the Wilcoxon signed rank test as suggested on the following thread: How do I calculate confidence interv... |
I am slightly familiar with how to estimate the parameters in a linear Kalman Filter, by using maximum likelihood. Do we do the same for the extended Kalman Filter? In particular, I am confused as to how to set up the log likelihood equation. the general expression that I have seen so far involves some integrals, and i... |
Assume $X_1,X_2,...,X_n$ is a random sample of size $n$ with distribution $EXP\sim(\beta, \mu)$, find the method of moments estimator, $\tilde{\mu}_{mm}$ of $\mu$
I am confused as to what exactly I'm trying to find. So first I have:
$\mu_1=E[X]=\mu+\beta$
and then I have
$\mu_2=E[X^2]=VAR[X]+E[X]^2=\beta^2+(\mu+... |
I'm at a loss as how to proceed on this problem. If I conclude true, don't I want the $43/80$ to be IN the CI. Since this is saying the conclusion was NOT true, wouldn't I want the percentage to be outside the CI?
Need some guidance here.
|
From a Spanish deck of 40 cards (4 suits - gold, clubs, swords or cups),
one card is taken from a shuffled deck:
If gold or cup appears, 2 coins are thrown;
If sword appears, 1 coin is thrown;
If club appears, no coins are thrown.
Coins can come up either on the "face" side or the "number" side.
What is the proba... |
I am using lavaan to analyse customer survey data. There are several questions in the survey data, which can be factored into categories (e.g. friendliness, efficiency) etc. There is an overall satisfaction score, so cfa or sem can be used nicely.
My problem lies in constructing a feature table from the responses, give... |
If in a binomial distribution, the Bernoulli trials are independent and have different success probabilities, then it is called Poisson Binomial Distribution. Such a question has been previously answered here and here.
How can I do a similar analysis in the case of a multinomial distribution? For instance, if a $k$-sid... |
I do not understand the role of weights in "weighted Poisson regression". What exactly is being weighted? Is it the contribution of the observation to the log-likelihood of the model, or something else?
In the following two popular threads,
Where does the offset go in Poisson/negative binomial regression?
When to use ... |
While reading the following paper on Bregman Divergence (link)
Banerjee, Arindam, et al. "Clustering with Bregman divergences." Journal of machine learning research 6.Oct (2005): 1705-1749.
In section 4 (pg 1720) the authors mention
It has been observed in the literature that exponential families and
Bregman diverge... |
I am doing a study understanding impact of vehicle registration fee on vehicle miles travelled. I am using linear regression and figured out that log transformation of dependent variable and some of the control variables improves the R2 and reduces standard error. I have a few control variables that are in percentages ... |
With a training set of size $N$, let $L_i(\theta)$ denote the loss of the $i^\text{th}$ training example when the model has parameters $\theta$. Then the training loss $L(\theta)$ is equal to the mean of all the $L_i(\theta)$:
$$ L(\theta) = \frac{1}{N}\sum_{i=1}^N L_i(\theta) \\
\frac{\partial L}{\partial \theta} = \f... |
I'm using cobs to do some interpolation.
I want to impose concavity, monotonicity, and some boundary constraints on the interpolated function.
This has been working quite well in general, but for some sets of points, it fails.
Here's the sample data causing me issues:
x = c(8, 9, 15, 8, 2, 8, 14, 20, 8, 8, 3, 1, 1, 17,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.