In order to perform a regression in GeoGebra, use Spreadsheet, where it’s easy to add or change the information used in the regression analysis. 
     GeoGebra Instruction 1
Algebra     View,         Graphics     View     and         Spreadsheet     under         View     in         Menu.         A,         enter         the         -coordinates         of         your         data         points.         In         column B,         input         the         -coordinates         of         your         data         points.         A     and         B     that         you         have         entered         coordinates         into         and         click         Two     Variable     Regression     Analysis Toolbar.         Your         model         will         be         given         as         a         function         y     =            to         the         right         of         the         drop-down         list         after         you         have         selected         a         regression         model.         The         graph         of         the         model         will         also         be         displayed         along         with         your         data         points.         You         can         copy         the         graph         to         Graphics     View     by         clicking         Copy     to     Graphics     View          at         the         top         of         the         window.         Once         the         graph         is         copied,         the         data         points         will         appear         in         
Algebra     View     as         well. 
     The picture below shows a graph that has been copied over to Graphics View as described in Step 4 in Item 4 above.