Bing custom search not loading more than 150 offset - azure

Trying to use bing custom search, though after a certain like lets say 150 when count is 5 offset I get no results when the estimated results are in the millions.
https://learn.microsoft.com/en-us/bing/search-apis/bing-custom-search/reference/endpoints
Why is this??
n/a I have tried retrieved the results.

Related

Number of days for delivery and number of orders delivered in two separate columns. Is there a way to get summary statistics about orders?

I've had a bit of trouble explaining this so please bear with me. I'm also very new to using excel so if there's a simple fix, I apologize in advance!
I have two columns, one listing number of days starting from 0 and increasing consecutively. The other column has the number of orders delivered. The two correspond to each other. For example, I've typed out how it would look below. It would mean that there were 100 orders delivered in 1 day, 150 orders delivered in 2 days, 800 orders delivered in 3 days, etc.
Is there a way to get summary statistics (mean, median, mode, upper and lower quartiles) for the number of days it took for the average order to get delivered? The only way I can think of solving this is to manually punch in "1" 100 times, "2" 150 times, etc. into a new column and take median, mean, and upper & lower quartile from that, but that seems extremely inefficient. Would I use a pivot table for this? Thank you in advance!
I tried using the data analysis add-on and doing summary statistics that way, but it didn't work. It just gave me the mean, median, mode, and quartiles of each individual column. It would have given me 3 for median number of days for delivery and 300 for median number of orders.
Method 1
The mean is just
=SUMPRODUCT(A2:A6,B2:B6)/SUM(B2:B6)
Mode is the value with highest frequency
=INDEX(A2:A6,MATCH(MAX(B2:B6),B2:B6,0))
The quartiles and median (or any other quantile by varying the value of p) from first principles following this reference
=LET(p,0.25,
values,A2:A6,
freq,B2:B6,
N,SUM(freq),
h,(N+1)*p,
floorh,FLOOR(h,1),
ceilh,CEILING(h,1),
frac,h-floorh,
cusum,SCAN(0,SEQUENCE(ROWS(values)),LAMBDA(a,c,IF(c=1,0,a+INDEX(freq,c-1)))),
xlower,XLOOKUP(floorh-1,cusum,values,,-1),
xupper,XLOOKUP(ceilh-1,cusum,values,,-1),
xlower+(xupper-xlower)*frac)
Method 2
If you don't like doing it this way, you can always expand the data like this:
=AVERAGE(XLOOKUP(SEQUENCE(SUM(B2:B6),1,0),SCAN(0,SEQUENCE(ROWS(A2:A6)),LAMBDA(a,c,IF(c=1,0,INDEX(B2:B6,c-1)+a))),A2:A6,,-1))
=MODE(XLOOKUP(SEQUENCE(SUM(B2:B6),1,0),SCAN(0,SEQUENCE(ROWS(A2:A6)),LAMBDA(a,c,IF(c=1,0,INDEX(B2:B6,c-1)+a))),A2:A6,,-1))
=QUARTILE.EXC(XLOOKUP(SEQUENCE(SUM(B2:B6),1,0),SCAN(0,SEQUENCE(ROWS(A2:A6)),LAMBDA(a,c,IF(c=1,0,INDEX(B2:B6,c-1)+a))),A2:A6,,-1),1)
=MEDIAN(XLOOKUP(SEQUENCE(SUM(B2:B6),1,0),SCAN(0,SEQUENCE(ROWS(A2:A6)),LAMBDA(a,c,IF(c=1,0,INDEX(B2:B6,c-1)+a))),A2:A6,,-1))
and
=QUARTILE.EXC(XLOOKUP(SEQUENCE(SUM(B2:B6),1,0),SCAN(0,SEQUENCE(ROWS(A2:A6)),LAMBDA(a,c,IF(c=1,0,INDEX(B2:B6,c-1)+a))),A2:A6,,-1),3)

How To Reverse Engineer Forecast From Data Set

I have a list of foretasted data pasted as values, I would like to continue to produce forecasts in the same format but do not have the formula to how the originals was created.
I am trying to recreate the current forecasts as to prove the working formula, but cant seem to find the correct algorithm. I have tried multiple logical formats from using average, averageifs, forecast, trend and of all different relevant date ranges and cannot reproduce the original or anywhere near.
The data set it too large and sensitive to post here but please see example of data format below:
Date Actual Forecast #Data goes back up to 3 years
19/06/19 121 138
18/06/19 110 116
17/06/19 129 124
I would like the calculation method used for example receiving 19/06/19 Forecast from the past data of Actual column.
I am unsure whether VBA could be used to cycle through possible options as I have never had to do anything like this before? Hopefully someone with more experience than me may have a more of an idea.
Thanks in advance for any help or advice.

How do I sort google text- and image search results by date?

We would like to set up a search site where it is possible to sort the search results in "time of publishing" - date:hour:minute - both for text and for images.
Is that possible to build with a professional API from Google?
The problem is that if you today select to show text search results and select ”tools", ”last year” and then select to display them ”sort by date”, only a fraction of the results are displayed in google.
Also results from both text and image "date"-searches are displayed randomly. (1 day old, 5 days old, 3 days old)
Is it possible to somehow show all results sorted by date and time?
I'm open for suggestions using other search engines and programming.
Thanks!

How to generate random numbers within a normal distribution using Excel

I want to use the RAND() function in Excel to generate a random number between 0 and 1.
However, I would like 80% of the values to fall between 0 and 0.2, 90% of the values to fall between 0 and 0.3, 95% of the values to fall between 0 and 0.5, etc.
This reminds me that I took an applied statistics course once upon a time, but not of what was actually in the course...
How is the best way to go about achieving this result using an Excel formula. Alternatively, what is this kind of statistical calculation called / any other pointers that I can Google around for.
=================
Use case:
I have a single column of meter readings, which I would like to duplicate 7 times (each column for a new month). each column has 55 000 rows. While the meter readings need to vary for each month, when taken as a time series, each meter number should have 7 realistic readings.
The aim is to produce realistic data to turn into heat maps (i.e. flag outlying meter readings)
I don't think that there is a formula which would fit exactly to your requirements. I would use a very straightforward solution:
Generate 80% of data using =RANDBETWEEN(0,20)/100
Generate 10% of data using =RANDBETWEEN(20,30)/100
Generate 5% of data using =RANDBETWEEN(30,50)/100
and so on
You can easily change the precision of generated data by modifying the parameters, for example: =RANDBETWEEN(0,2000)/10000 will generate data with up to 4 digits after decimal point.
UPDATE
Use a normal distribution for the use case, for example:
=NORMINV(RAND(), 20, 5)
where 20 is a mean value and 5 is a standard deviation.

Find average google pagerank for particular keywords

I need to develop web-based application that can compute or analyze the google average page rank of a keyword. It is the top 10 sites of that keyword in google. It is telling the script to add the pr of each 10 sites and divide it to 10.
Let say, I will input 500 keywords in a web-form then click Get Average Page Rank. It will give result of 500 keywords with average PR beside each one of it.
Option to sort PR from higher to lower, option to download as CSV. Option to use proxy server so not to get banned by google for many inquiry in one time.
The interface is like the text box to input keywords .output below but in 2 columns. 1 column for keyword and 1 column for average pr.
is there any google api available for this purpose ?
Thank you!
There is no Google API for that and the very idea that there is a global average rank for a given keyword is flawed. A keyword's influence depends on the page's niche and the user's search request.

Resources