# Francisco de Castro

### AFBI

Professional Interests: Theoretical Ecology

**Statistics**

RANK**23,187**

of 257,962

REPUTATION**1**

CONTRIBUTIONS

**15** Questions

**5** Answers

ANSWER ACCEPTANCE **
46.67%
**

VOTES RECEIVED**2**

RANK**398** of 17,780

REPUTATION**3,840**

AVERAGE RATING**4.00**

CONTRIBUTIONS**19** Files

DOWNLOADS **109**

ALL TIME DOWNLOADS**36012**

RANK

of 110,189

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

websave adds html to file name

Any reason why 'websave' adds a '.html' to the name of the output file? I'm downloading coronavirus data from John Hopkins Univ...

2 years ago | 2 answers | 1

### 2

answersQuestion

Degrees of freedom in a kernel density estimation

Is there any way to estimate the degrees of freedom from a kernel density estimator? Background: I want to compare the fitting...

2 years ago | 0 answers | 0

### 0

answersWhat happened to allfitdist ?

A bit late, perhaps, but function 'fitmethis' in matlab's file exchange does something similar to allfitdist.

2 years ago | 0

Question

Why does Jpattern option not improve execution time of ODE solver?

I have a system of ~100 ODEs. They represent interactions between species in an ecosystem. Each species interacts only with a sm...

3 years ago | 0 answers | 0

### 0

answersThresholds in ODE solvers

I found a partial (and not very elegant) solution for this, albeit only for some of the ODE solvers. 1. Write the example od...

4 years ago | 0

Is there any way to use multiple tolerances in ODE solvers?

Thanks Torsten, your suggestion may be the solution. If you put it as an separate answer I'll mark it as accepted. F

4 years ago | 0

Question

Is there any way to use multiple tolerances in ODE solvers?

I'm frequently using systems of ODEs to simulate the dynamics of ecological communities. The number of equations is large: from ...

4 years ago | 4 answers | 0

### 4

answersQuestion

Heterogeneity in linear model

I'm fitting a generalized linear model. The response variable has a gamma distribution. I have 1 fixed (categorical) factor with...

5 years ago | 0 answers | 0

### 0

answersGood plotting functions for food webs?

Hi Edward, Maybe too late, but I updated plotfoodweb to plot in 2D. Not arrows, just lines, but still. Hope it helps.

6 years ago | 0

Question

Is Bonferroni adjustment applied to p-values by default?

Do the MATLAB procedures that perform multiple regression (specifically GeneralizedLinearModel.stepwise) apply the Bonferroni ad...

7 years ago | 0 answers | 0

### 0

answersQuestion

McKendrick - von Foerster equation

Can anybody suggest a step-by-step explanation of how to set up, in MATLAB, the McKendrick - vonFoerster equation for age-struct...

8 years ago | 0 answers | 1

### 0

answersQuestion

non-linear fit with generalized least squares

I need to fit a non-linear model in which the data are not independent. A Generalized Least Squares approach allows this if you ...

9 years ago | 0 answers | 0

### 0

answersQuestion

Stdev from gmdistribution.fit?

I'm using function gmdistribution.fit to fit data which is a mixture of three normal distributions with different means and diff...

9 years ago | 1 answer | 0

### 1

answerQuestion

Compare fits in CFTOOL

Is there any way in CFTOOL (v3.3, R2012b) to plot two fits together (in the same figure)? So I can show their differences graphi...

9 years ago | 0 answers | 0

### 0

answersQuestion

fitting implicit functions with NLINFIT

Is there any way to use implicit functions when fitting them to data with NLINFIT? Details: I need to fit a model to some data...

10 years ago | 2 answers | 0

### 2

answersQuestion

Vectorization in an array of structures?

I seem to be unable of vectorize a simple calculation with the contents of an array of structures. Is this possible at all? Exam...

10 years ago | 2 answers | 0

### 2

answersQuestion

Why deviance returned by GLMFIT is not = -2*LogLikelihood?

I'm working with GLM models using glmfit. After fitting the model I need to calculate the LogLikelihood (which is not returned d...

10 years ago | 1 answer | 0

### 1

answerMultivariate GLMFIT and GLMVAL

Peter, thanks for your comment. However, to plot the predicted values of the model I need the values of each predictor to span i...

10 years ago | 0

Question

Multivariate GLMFIT and GLMVAL

I have a problem with plotting the results of a glm model with several predictors. I first fit the model with GLMFIT as: ...

10 years ago | 3 answers | 0

### 3

answersQuestion

Thresholds in ODE solvers

Working with models of ecological communities based on diff. equations, I want to define a extinction threshold. If, during the ...

11 years ago | 2 answers | 0