+ Reply to Thread
Results 1 to 8 of 8

How to find when function start to behave as 1/(powerx,2)

  1. #1
    Registered User
    Join Date
    10-27-2017
    Location
    Isarel
    MS-Off Ver
    2016
    Posts
    4

    How to find when function start to behave as 1/(powerx,2)

    Hi .
    I have some measured data (see attached files ) i need to find when it function start to behae as 1/(x^2).
    is any one can assist me please ?
    funkzia.PNG
    data.xlsx
    Last edited by maxk85; 10-27-2017 at 07:55 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,729

    Re: How to find when function start to behave as 1/(powerx,2)

    Welcome to the forum!

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-27-2017
    Location
    Isarel
    MS-Off Ver
    2016
    Posts
    4

    Re: How to find when function start to behave as 1/(powerx,2)

    Updated , thanks

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: How to find when function start to behave as 1/(powerx,2)

    comment removed by GK
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: How to find when function start to behave as 1/(powerx,2)

    Your sample file only contains your raw data and a chart. There are no attempts at any kind of analysis, and no description of how you would like to perform this analysis.

    It seems like the first step would be to add a column =A2^-2 (copied down) and add that to your chart. This will give you something to compare to.
    My first observation, with that column added, is that the function at least needs a scaling factor (=$F$1*A2^-2 where F1 contains the scaling factor). I manually tried a few different values and settled on 1E9, which was close enough to visually compare in the chart the two curves.

    For a more analytic algorithm, I could see adding an "error" column [((yest-ymeas)/ymeas)^2 or ln(yest/ymeas)^2 or whatever makes sense to the problem at hand) and using that column to develop a more analytic measure of "when does measured y begin to look like y=A*X^-2".

    I could also see getting even more statistically involved by using regression techniques (LINEST()) perform a regression, then doing an "outliers" analysis and using that to determine which points are outliers. Based on where the outliers tend to congregate, you should be able to see which regions do and do not "fit" the y=a*x^-2 equation.

    That's my overview of the problem. Where do you want to go with this, and what do you need help with?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  6. #6
    Registered User
    Join Date
    10-27-2017
    Location
    Isarel
    MS-Off Ver
    2016
    Posts
    4

    Re: How to find when function start to behave as 1/(powerx,2)

    Thank you !!
    I did first two steps (Manual compare and error ) and it work great
    Can you please explane about "regretion techniques"?
    Add picture because the excel file over upload limit .
    "Capture.PNG

  7. #7
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: How to find when function start to behave as 1/(powerx,2)

    Can you please explane about "regretion techniques"?
    Depends on how much of an explanation you need.

    Basically, regression techniques are more standardized, formal expressions of the basic "manually try different scaling factors until you get a curve that matches" process that you just did. If you are completely unfamiliar with regression, I would suggest that you start with an introduction to statistics text/course/page, as basic linear regression is a common part of introduction to statistics. Something like this: http://stattrek.com/regression/linea...?Tutorial=Stat
    or http://onlinestatbook.com/2/regression/intro.html
    or http://people.duke.edu/~rnau/regintro.htm
    or https://www.youtube.com/watch?v=zPG4NjIkCjc

    From there, you can expand the concept to other "linear equations", where linear is not longer about "straight lines" (like y=A*x^-2). A full course on regression (or two or three) is probably more than can be included in an internet forum post, so I will leave you to research the techniques elsewhere. As you come across different techniques and want to know how to program those into the spreadsheet, let us know and we can help with that.

  8. #8
    Registered User
    Join Date
    10-27-2017
    Location
    Isarel
    MS-Off Ver
    2016
    Posts
    4

    Re: How to find when function start to behave as 1/(powerx,2)

    Thank you very match!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Make TAB key in cell behave like enter
    By lililililili in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2017, 07:49 AM
  2. Getting VBA IF statement to behave correctly with =TODAY()
    By Dylan87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-01-2015, 12:43 PM
  3. Making a cell behave like a text box
    By rmcnamara in forum Excel General
    Replies: 2
    Last Post: 09-02-2012, 02:04 AM
  4. Can this be done? Use macro to seach names with find function to start...
    By NZB in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-17-2010, 03:17 AM
  5. Cannot get chart to behave
    By OdinTGE in forum Excel General
    Replies: 3
    Last Post: 03-18-2010, 06:22 PM
  6. trying to get the RETURN key to behave like the TAB
    By pabs in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-09-2010, 09:49 PM
  7. Why does vlookup behave like this?
    By FFrrEEddRRiiKK in forum Excel General
    Replies: 7
    Last Post: 04-05-2009, 08:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1