## 35 Reputation

6 years, 162 days

## Surface fit and Lowess...

Maple

Colleagues, help me please. There is a 256 by 256 matrix in the form of a histogram or heat map.

I want to smooth this histogram and get a surface function.

I used Lowess.

However, there is a problem. the resulting function f (x,y) of the surface is calculated for a long time and it is not possible to use it in NonLinearfit. My NonLinearFit does not give a result. I try to use this function as  A * f(x,y) where A is parameter/

And my idea is to use this function as a template when approximating new poorer matrices. like copulas

What should I do?

## Why is my Poisson histogram not correct?...

Maple 2020

Hello colleagues

I use Maple 2020 and I try to create Histogram of Poisson with a mean 200 [ Histogram(Sample(Poisson(200),10000))]. but I get an incorrect result in the form of a histogram as uniform distribution. But In my Maple 2015 I get a correct result.what is the problem?

## Problem with a certain distribution...

Maple 2015

Hi friends! I have a problem with Random Variable. I don't understand why theoretical Mean differs from sample's Mean

restart; with(Statistics);

r := RandomVariable(NegativeBinomial(3, .1));
Mean((3-1)/(3+r-1));

0.1000000000

S := Sample(r, 10000);

d := map(unapply((3-1)/(3+t-1), t), S);

Mean(d);

0.04703520901756091

But !!

For example if p=0.2 then all is well

Maple 2015

Hi, friends!

I'm not a math =) but it is interesting

How can i solve this equation like the gambler's ruin with Maple's function rsolve

f(n)=0.5*f(n-1)+0.5*f(n+1), f(0)=1, f(6)=0

rsolve({f(n)=0.5*f(n-1)+0.5*f(n+1), f(0)=1, f(6)=0}, {f});

it returns this

{f(n) = 7 f(5) - f(5) (n + 1)}

I don't understand :(

for example Wolfram Alpha return the true result

 Page 1 of 1
﻿